diff options
| author | Ihor Solodrai <ihor.solodrai@linux.dev> | 2026-08-06 20:20:28 -0700 |
|---|---|---|
| committer | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-06 22:01:28 -0700 |
| commit | 9f3881ecad886bbcd7b69355bc14a6deb071672c (patch) | |
| tree | 78a4be9b67174c2293b4a018fe4b42949859e29b /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 692393104909ee14686488995ad5009a618fb0c7 (diff) | |
selftests/bpf: Verify decl tags emission in resolve_btfids test
Extend test_resolve_btfids() to assert that resolve_btfids emits a
BTF_KIND_DECL_TAG named "bpf_kfunc" for every kfunc, and
"bpf_fastcall" for kfuncs marked KF_FASTCALL.
Add a btf_has_decl_tag() helper that scans the output BTF for a decl
tag matching name and target.
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://patch.msgid.link/20260807032029.78092-6-ihor.solodrai@linux.dev
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
