Re: [PATCH bpf-next v6 4/9] tools: Allow specifying base BTF file in resolve_btfids

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

 



On Wed, Sep 29, 2021 at 11:30 PM Kumar Kartikeya Dwivedi
<memxor@xxxxxxxxx> wrote:
>
> This commits allows specifying the base BTF for resolving btf id
> lists/sets during link time in the resolve_btfids tool. The base BTF is
> set to NULL if no path is passed. This allows resolving BTF ids for
> module kernel objects.
>
> Also, drop the --no-fail option, as it is only used in case .BTF_ids
> section is not present, instead make no-fail the default mode. The long
> option name is same as that of pahole.
>
> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
> ---

LGTM.

Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx>

>  tools/bpf/resolve_btfids/main.c      | 28 +++++++++++++++++++---------
>  tools/testing/selftests/bpf/Makefile |  2 +-
>  2 files changed, 20 insertions(+), 10 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