aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/bpf-event.h
diff options
context:
space:
mode:
authorBlake Jones <blakejones@google.com>2025-06-12 12:49:37 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-06-20 14:48:49 -0700
commitfdc3441f2d317b40ace0936ee040a6c895d60014 (patch)
treed6c3c35449af0d7a1608b7bf4559663dc14e4dca /tools/perf/util/bpf-event.h
parentperf record: collect BPF metadata from existing BPF programs (diff)
downloadlinux-fdc3441f2d317b40ace0936ee040a6c895d60014.tar.gz
linux-fdc3441f2d317b40ace0936ee040a6c895d60014.zip
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>
Diffstat (limited to 'tools/perf/util/bpf-event.h')
-rw-r--r--tools/perf/util/bpf-event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/bpf-event.h b/tools/perf/util/bpf-event.h
index ef2dd3f1619e..60d2c6637af5 100644
--- a/tools/perf/util/bpf-event.h
+++ b/tools/perf/util/bpf-event.h
@@ -25,6 +25,7 @@ struct bpf_metadata {
struct bpf_prog_info_node {
struct perf_bpil *info_linear;
+ struct bpf_metadata *metadata;
struct rb_node rb_node;
};