Deprecate bpf_object__open_buffer() API, replace all usage with bpf_object__open_mem(). [0] closes: https://github.com/libbpf/libbpf/issues/287 Christy Lee (2): libbpf: mark bpf_object__open_buffer() API deprecated perf: stop using bpf_object__open_buffer() API tools/lib/bpf/libbpf.h | 1 + tools/perf/tests/llvm.c | 2 +- tools/perf/util/bpf-event.c | 10 ++++++++++ tools/perf/util/bpf-loader.c | 10 ++++++++-- 4 files changed, 20 insertions(+), 3 deletions(-) -- 2.30.2