Re: Makefile.perf:1149: *** Missing bpftool input for generating vmlinux.h. Stop.

From: Ingo Molnar
Date: Wed Jun 05 2024 - 03:10:32 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

>
> * Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> > > Was this regression fix propagated to v6.9 in time?
> >
> > We switched to using the handwritten file in v6.4:
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/tools/perf/util/bpf_skel/vmlinux.h?id=a887466562b425bd6183bf75b523c1477c9fd22d
>
> So there must be some different regression then, as this is readily
> reproducible for me on v6.9, as per the build log below - I simply
> Ctrl-C-ed a build, and the next build results in:
>
> kepler:~/tip/tools/perf> make clean install
> Makefile.perf:1149: *** Missing bpftool input for generating vmlinux.h. Stop.
> make: *** [Makefile:90: clean] Error 2
> kepler:~/tip/tools/perf>

This happens easily on latest upstream v6.10-rc1 as well:

kepler:~/tip> perfi
Makefile.perf:1173: *** Missing bpftool input for generating vmlinux.h. Stop.
make: *** [Makefile:90: clean] Error 2
kepler:~/tip>

What's going on here?

Thanks,

Ingo