diff options
author | Blake Jones <blakejones@google.com> | 2025-06-12 12:49:39 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-20 14:55:24 -0700 |
commit | edf2cadf01e8f2620af25b337d15ebc584911b46 (patch) | |
tree | 9e30c5bcb781d609eeeb2e721e22ed93387143f4 /kernel | |
parent | f19860ea9477f5ac33775cc0a602c7d54188c00a (diff) |
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 'kernel')
0 files changed, 0 insertions, 0 deletions