diff options
| author | Andrii Nakryiko <[email protected]> | 2021-09-14 17:00:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-09-18 20:47:02 +0000 |
| commit | 219d720e6df71c2607d7120d6b9281614863e5b1 (patch) | |
| tree | 80c50a59a1fffe942548abc842c0ad4f33fd1a04 /lib/test_overflow.c | |
| parent | libperf evsel: Make use of FD robust. (diff) | |
| download | kernel-219d720e6df71c2607d7120d6b9281614863e5b1.tar.gz kernel-219d720e6df71c2607d7120d6b9281614863e5b1.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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
