summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-05-14 02:36:43 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-05-14 03:23:58 +0300
commitc1cccec9c63637c4c5ee0aa2da2850d983c19e88 (patch)
treea2146db56f08f2684dbefebc4989e66dc4507191 /tools/perf/scripts/python/export-to-sqlite.py
parent9e9b451593b161403aedf15eef8ced62dba65f40 (diff)
downloadlinux-c1cccec9c63637c4c5ee0aa2da2850d983c19e88.tar.xz
libbpf: Reject static maps
Static maps never really worked with libbpf, because all such maps were always silently resolved to the very first map. Detect static maps (both legacy and BTF-defined) and report user-friendly error. Tested locally by switching few maps (legacy and BTF-defined) in selftests to static ones and verifying that now libbpf rejects them loudly. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210513233643.194711-2-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions