Closed anakryiko closed 2 months ago
Idle threads all have PID 0, one idle thread per each CPU. This screws up retsnoop's logic around using PID as a unique session ID. So for idle threads, use -(1 + CPU ID) as a session (session ID 0 will be reserved as invalid).
Idle threads all have PID 0, one idle thread per each CPU. This screws up retsnoop's logic around using PID as a unique session ID. So for idle threads, use -(1 + CPU ID) as a session (session ID 0 will be reserved as invalid).