summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-08-04 00:42:02 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-08-08 16:44:11 +0300
commite19db6762c18ab1ddf7a3ef4d0023780c24dc1e8 (patch)
tree3b0c1bfae771fcbfc8e74e03da22c5a71b428912 /tools/perf/scripts/python/event_analyzing_sample.py
parent5653f55ebd767b4ef47414ee7f852517993eda6f (diff)
downloadlinux-e19db6762c18ab1ddf7a3ef4d0023780c24dc1e8.tar.xz
libbpf: Reject legacy 'maps' ELF section
Add explicit error message if BPF object file is still using legacy BPF map definitions in SEC("maps"). Before this change, if BPF object file is still using legacy map definition user will see a bit confusing: libbpf: elf: skipping unrecognized data section(4) maps libbpf: prog 'handler': bad map relo against 'server_map' in section 'maps' Now libbpf will be explicit about rejecting "maps" ELF section: libbpf: elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+ Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220803214202.23750-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions