diff options
| author | Blake Jones <blakejones@google.com> | 2025-06-12 22:49:39 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-21 00:55:24 +0300 |
| commit | edf2cadf01e8f2620af25b337d15ebc584911b46 (patch) | |
| tree | 9e30c5bcb781d609eeeb2e721e22ed93387143f4 /tools/perf/scripts/python/gecko.py | |
| parent | f19860ea9477f5ac33775cc0a602c7d54188c00a (diff) | |
| download | linux-edf2cadf01e8f2620af25b337d15ebc584911b46.tar.xz | |
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/gecko.py')
0 files changed, 0 insertions, 0 deletions
