On Mon, Jan 24, 2022 at 4:59 PM Christy Lee <christylee@xxxxxx> wrote: > > bpf_object__open_buffer() API is deprecated, use the unified opts > bpf_object__open_mem() API in perf instead. This requires at least > libbpf 6.0. Not 6.0, but 0.0.6 (not even v0.6). So it's a very old API. I removed the __weak stub because it should be there anyways. Fixed up commit message and applied the series to bpf-next, thanks. > > Signed-off-by: Christy Lee <christylee@xxxxxx> > --- > tools/perf/tests/llvm.c | 2 +- > tools/perf/util/bpf-event.c | 10 ++++++++++ > tools/perf/util/bpf-loader.c | 10 ++++++++-- > 3 files changed, 19 insertions(+), 3 deletions(-) > [...]