Re: [PATCH bpf-next 2/2] perf: stop using bpf_object__open_buffer() API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux