aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-09-14 17:00:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-09-15 21:06:08 +0000
commit00e0ca3721cf2ddcb38cf676a3de61933640d31d (patch)
treefddd8d3c2d5994eb9f052b52bdff4a24fde88375 /tools/perf/util/annotate.c
parentperf bpf: Deprecate bpf_map__resize() in favor of bpf_map_set_max_entries() (diff)
downloadkernel-00e0ca3721cf2ddcb38cf676a3de61933640d31d.tar.gz
kernel-00e0ca3721cf2ddcb38cf676a3de61933640d31d.zip
perf bpf: Ignore deprecation warning when using libbpf's btf__get_from_id()
Perf code re-implements libbpf's btf__load_from_kernel_by_id() API as a weak function, presumably to dynamically link against old version of libbpf shared library. Unfortunately this causes compilation warning when perf is compiled against libbpf v0.6+. For now, just ignore deprecation warning, but there might be a better solution, depending on perf's needs. Signed-off-by: Andrii Nakryiko <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: [email protected] LPU-Reference: [email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions