summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-02-25 17:49:55 -0800
committerNamhyung Kim <namhyung@kernel.org>2026-02-26 10:49:00 -0800
commitaf894feb32570cafea582b100d674b042479544f (patch)
treef03686f3dbbb211337204b07c8409fcf6f8b7c50 /tools/perf/scripts/python/net_dropmonitor.py
parent96f202eab8133f94479b14a32902c636e9bdf6af (diff)
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 <irogers@google.com> Acked-by: Howard Chu <howardchu95@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions