Files
linux/tools/perf/util/bpf_skel
Namhyung Kim af894feb32 perf trace: Handle task exit in BPF syscall summary
Some system calls never return because it'd terminate the calling
thread.  Let's hook the task exit path and update the duration of the
last syscall.

Before:
  $ sudo perf trace -as --bpf-summary -- true |& grep exit
  (nothing)

After:
  $ sudo perf trace -as --bpf-summary -- true |& grep exit
     exit_group             1      0     0.004     0.004     0.004     0.004      0.00%

Reviewed-by: Ian Rogers <[email protected]>
Acked-by: Howard Chu <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
2026-02-26 10:49:00 -08:00
..