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(-) > [...]