Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retsnoop: handle idle threads properly #71

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Commits on Aug 28, 2024

  1. retsnoop: handle idle threads properly

    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).
    
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    anakryiko committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    47a2ef6 View commit details
    Browse the repository at this point in the history