[GIT PULL] perf tools fixes for v6.18: 2nd batch

From: Arnaldo Carvalho de Melo
Date: Sun Nov 16 2025 - 14:29:18 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit 9b9e43704d2b05514aeeaea36311addba2c72408:

Merge tag 'slab-for-6.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab (2025-11-13 11:42:44 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.18-2-2025-11-16

for you to fetch changes up to b72b8132d8fd2d6bf5b420a03d4fc553980c3a92:

perf libbfd: Ensure libbfd is initialized prior to use (2025-11-13 17:55:19 -0300)

----------------------------------------------------------------
perf tools fixes for v6.18: 2nd batch

- Fix writing bpf_prog (infos|btfs)_cnt to data file, to not generate
invalid perf.data files in some corner cases.

- Fix 'perf top' segfault by ensuring libbfd is initialized. This is an
opt-in feature due to license incompatibilities.

- Fix segfault in 'perf lock' due to missing kernel map.

- Fix 'perf lock contention' test.

- Don't fail fast path detection if binutils-devel isn't available.

- Sync KVM's vmx.h with the kernel to pick SEAMCALL exit reason.

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
perf build: Don't fail fast path feature detection when binutils-devel is not available
tools headers UAPI: Sync KVM's vmx.h with the kernel to pick SEAMCALL exit reason

Ian Rogers (1):
perf libbfd: Ensure libbfd is initialized prior to use

Ravi Bangoria (2):
perf lock: Fix segfault due to missing kernel map
perf test: Fix lock contention test

Thomas Falcon (1):
perf header: Write bpf_prog (infos|btfs)_cnt to data file

tools/arch/x86/include/uapi/asm/vmx.h | 1 +
tools/build/feature/Makefile | 4 ++--
tools/perf/Makefile.config | 5 ++--
tools/perf/builtin-lock.c | 2 ++
tools/perf/tests/shell/lock_contention.sh | 14 ++++++++----
tools/perf/util/header.c | 10 ++------
tools/perf/util/libbfd.c | 38 +++++++++++++++++++++++++++++++
tools/perf/util/mutex.c | 14 ++++++++----
tools/perf/util/mutex.h | 2 ++
9 files changed, 68 insertions(+), 22 deletions(-)