On Tue, Jun 16, 2020 at 3:06 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > The btfid tool will be used during the vmlinux linking, > so it's necessary it's ready for it. > Seeing troubles John runs into, I wonder if it maybe would be better to add it to pahole instead? It's already a dependency for anything BTF-related in the kernel. It has libelf, libbpf linked and set up. WDYT? I've cc'ed Arnaldo as well for an opinion. > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- > Makefile | 22 ++++++++++++++++++---- > tools/Makefile | 3 +++ > tools/bpf/Makefile | 5 ++++- > 3 files changed, 25 insertions(+), 5 deletions(-) > [...]