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 <irogers@google.com>
Acked-by: Howard Chu <howardchu95@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-02-26 10:49:00 -08:00
..
vmlinux perf lock contention: Symbolize zone->lock using BTF 2025-04-29 12:23:53 -03:00
.gitignore
augmented_raw_syscalls.bpf.c perf trace: Increase syscall handler map size to 1024 2025-10-31 12:29:44 -07:00
bench_uprobe.bpf.c perf bench uprobe: Add uretprobe variant of uprobe benchmarks 2024-04-12 17:54:02 -03:00
bperf_cgroup.bpf.c perf stat: Add/fix bperf cgroup max events workarounds 2025-10-25 16:44:21 -07:00
bperf_cgroup.h perf stat: Add/fix bperf cgroup max events workarounds 2025-10-25 16:44:21 -07:00
bperf_follower.bpf.c perf stat: Support inherit events during fork() for bperf 2024-11-01 23:31:08 -07:00
bperf_leader.bpf.c
bperf_u.h perf stat: Support inherit events during fork() for bperf 2024-11-01 23:31:08 -07:00
bpf_prog_profiler.bpf.c
func_latency.bpf.c perf ftrace latency: Add -e option to measure time between two events 2025-07-14 22:51:58 -07:00
kwork_top.bpf.c perf: Completely remove possibility to override MAX_NR_CPUS 2025-09-12 10:52:22 -03:00
kwork_trace.bpf.c perf kwork: Remove unreachable judgments 2025-03-18 16:55:30 -07:00
lock_contention.bpf.c perf lock contention: Add -J/--inject-delay option 2025-05-09 14:32:15 -03:00
lock_data.h perf lock contention: Symbolize zone->lock using BTF 2025-04-29 12:23:53 -03:00
off_cpu.bpf.c perf record --off-cpu: Add --off-cpu-thresh option 2025-05-05 21:51:54 -03:00
perf_version.h perf test: add test for BPF metadata collection 2025-06-20 14:55:24 -07:00
sample_filter.bpf.c perf bpf: Use __builtin_preserve_field_info for GCC compatibility 2025-10-02 14:57:07 -03:00
sample-filter.h perf bpf-filter: Support filtering on cgroups 2024-08-28 18:21:49 -03:00
syscall_summary.bpf.c perf trace: Handle task exit in BPF syscall summary 2026-02-26 10:49:00 -08:00
syscall_summary.h perf trace: Support --summary-mode=cgroup 2025-05-13 18:20:46 -03:00