diff options
author | Christy Lee <christylee@fb.com> | 2022-02-11 23:30:53 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-02-14 15:49:34 -0300 |
commit | 710f6c38bc5f49323b2d1e80ccb683f149477e51 (patch) | |
tree | 45dc2ce65c5d9435d59d8c8b39b63365ada70360 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcaf0a97858de7ab21e2bb877e5ac25a7e050525 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions