Re: [PATCH bpf-next v2 11/16] perf: Use bpf_{btf,link,map,prog}_get_info_by_fd()

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

 



On Thu, Feb 9, 2023 at 4:13 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote:
>
> Use the new type-safe wrappers around bpf_obj_get_info_by_fd().
>
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
> ---

This will cause unnecessary pain for perf for a small gain. perf
supports linking libbpf dynamically, so using some very recent APIs is
a complication. So please drop this patch. Samples and bpftool
conversion is totally fine, IMO.

>  tools/perf/util/bpf-utils.c   | 4 ++--
>  tools/perf/util/bpf_counter.c | 2 +-
>  tools/perf/util/bpf_counter.h | 6 +++---
>  3 files changed, 6 insertions(+), 6 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