https://github.com/torvalds/linux
Revision 219d720e6df71c2607d7120d6b9281614863e5b1 authored by Andrii Nakryiko on 14 September 2021, 17:00:04 UTC, committed by Arnaldo Carvalho de Melo on 18 September 2021, 20:47:02 UTC
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 <andrii@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: kernel-team@fb.com LPU-Reference: 20210914170004.4185659-1-andrii@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent aba5dae
Tip revision: 219d720e6df71c2607d7120d6b9281614863e5b1 authored by Andrii Nakryiko on 14 September 2021, 17:00:04 UTC
perf bpf: Ignore deprecation warning when using libbpf's btf__get_from_id()
perf bpf: Ignore deprecation warning when using libbpf's btf__get_from_id()
Tip revision: 219d720
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...