summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2024-06-13 12:50:11 +0300
committerAndrii Nakryiko <andrii@kernel.org>2024-06-18 00:38:31 +0300
commit6ba77385f386053cea2a1cad33717de74a26db4e (patch)
tree9437b582fa99975de476fa3fec0f3ca0f395a5b9 /tools/perf/scripts/python/intel-pt-events.py
parentc86f180ffc993975fed5907a869fc9b1555d0cfb (diff)
downloadlinux-6ba77385f386053cea2a1cad33717de74a26db4e.tar.xz
resolve_btfids: Handle presence of .BTF.base section
Now that btf_parse_elf() handles .BTF.base section presence, we need to ensure that resolve_btfids uses .BTF.base when present rather than the vmlinux base BTF passed in via the -B option. Detect .BTF.base section presence and unset the base BTF path to ensure that BTF ELF parsing will do the right thing. Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/bpf/20240613095014.357981-7-alan.maguire@oracle.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions