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/20240529203325.3039243-6-jacob.jun.pan@linux.intel.com # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/events/intel/