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

libbpf-tools/offcputime: Add multi process/thread support #5111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 20, 2024

  1. libbpf-tools/offcputime: Add multi process/thread support

    This is a test example.
    
      # ./offcputime -p 16,48
        Tracing off-CPU time (us) of PID [16, 48]... Hit Ctrl-C to end.
            bpf_prog_a42aae11c0bc18f2_sched_switch
            bpf_prog_a42aae11c0bc18f2_sched_switch
            bpf_trace_run4
            __traceiter_sched_switch
            __schedule
            schedule
            worker_thread
            kthread
            ret_from_fork
            ret_from_fork_asm
            -                kworker/2:1 (48)
                3353019
    
            bpf_prog_a42aae11c0bc18f2_sched_switch
            bpf_prog_a42aae11c0bc18f2_sched_switch
            bpf_trace_run4
            __traceiter_sched_switch
            __schedule
            schedule
            rcu_gp_kthread
            kthread
            ret_from_fork
            ret_from_fork_asm
            -                rcu_preempt (16)
                1720974
    ekyooo committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    68d5ac5 View commit details
    Browse the repository at this point in the history