diff options
author | 2022-02-11 23:30:53 -0800 | |
---|---|---|
committer | 2022-02-14 15:49:34 -0300 | |
commit | 710f6c38bc5f49323b2d1e80ccb683f149477e51 (patch) | |
tree | 45dc2ce65c5d9435d59d8c8b39b63365ada70360 /tools/perf/util/bpf-loader.c | |
parent | perf namespaces: Add functions to access nsinfo (diff) | |
download | wireguard-linux-710f6c38bc5f49323b2d1e80ccb683f149477e51.tar.xz wireguard-linux-710f6c38bc5f49323b2d1e80ccb683f149477e51.zip |
perf bpf: Stop using deprecated bpf_load_program() API
bpf_load_program() API is deprecated, remove perf's usage of the
deprecated function. Add a __weak function declaration for libbpf
version compatibility.
Signed-off-by: Christy Lee <christylee@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: bpf@vger.kernel.org
Cc: kernel-team@fb.com
Link: https://lore.kernel.org/bpf/20220212073054.1052880-2-andrii@kernel.org
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions