diff options
| author | 2025-06-12 12:49:39 -0700 | |
|---|---|---|
| committer | 2025-06-20 14:55:24 -0700 | |
| commit | edf2cadf01e8f2620af25b337d15ebc584911b46 (patch) | |
| tree | 9e30c5bcb781d609eeeb2e721e22ed93387143f4 /tools/perf/scripts/python/flamegraph.py | |
| parent | perf tools: display the new PERF_RECORD_BPF_METADATA event (diff) | |
| download | linux-rng-edf2cadf01e8f2620af25b337d15ebc584911b46.tar.xz linux-rng-edf2cadf01e8f2620af25b337d15ebc584911b46.zip | |
perf test: add test for BPF metadata collection
This is an end-to-end test for the PERF_RECORD_BPF_METADATA support.
It adds a new "bpf_metadata_perf_version" variable to perf's BPF programs,
so that when they are loaded, there will be at least one BPF program with
some metadata to parse. The test invokes "perf record" in a way that loads
one of those BPF programs, and then sifts through the output to find its
BPF metadata.
Signed-off-by: Blake Jones <blakejones@google.com>
Link: https://lore.kernel.org/r/20250612194939.162730-6-blakejones@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
