reproduce (this is a W=1 build): git remote add perf-tools-next https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git git fetch perf-tools-next perf-tools-next git checkout perf-tools-next/perf-tools-next b4 shazam https://lore.kernel.org/r/20240911222433.3415301-6-coltonlewis@google.com # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/events/