perf record: collect BPF metadata from new programs
authorBlake Jones <blakejones@google.com>
Thu, 12 Jun 2025 19:49:37 +0000 (12:49 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 20 Jun 2025 21:48:49 +0000 (14:48 -0700)
commitfdc3441f2d317b40ace0936ee040a6c895d60014
treed6c3c35449af0d7a1608b7bf4559663dc14e4dca
parentab38e84ba9a80581e055408e0f8c0158998fa4b9
perf record: collect BPF metadata from new programs

This collects metadata for any BPF programs that were loaded during a
"perf record" run, and emits it at the end of the run.

Signed-off-by: Blake Jones <blakejones@google.com>
Link: https://lore.kernel.org/r/20250612194939.162730-4-blakejones@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-record.c
tools/perf/util/bpf-event.c
tools/perf/util/bpf-event.h
tools/perf/util/env.c
tools/perf/util/env.h
tools/perf/util/header.c
tools/perf/util/synthetic-events.h