[GIT PULL] perf tools fixes for v6.16

From: Arnaldo Carvalho de Melo
Date: Fri Jun 20 2025 - 11:54:32 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit 44a5ab7a7958fbf190ae384b8ef252f23b840c1b:

Merge tag 'powerpc-6.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2025-06-16 08:49:58 -0700)

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.16-1-2025-06-20

for you to fetch changes up to d222b6e6fb31e320eca506e665694d8ddf459157:

tools headers x86 cpufeatures: Sync with the kernel sources (2025-06-17 18:29:42 -0300)

----------------------------------------------------------------
perf tools fixes for v6.16, 1st batch:

- Fix some file descriptor leaks that stand out with recent changes to
'perf list'.

- Fix prctl include to fix building 'perf bench futex' hash with musl libc.

- Restrict 'perf test' uniquifying entry to machines with 'uncore_imc' PMUs.

- Document new output fields (op, cache, mem, dtlb, snoop) used with
'perf mem'.

- Synchronize kernel header copies.

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

----------------------------------------------------------------
Arnaldo Carvalho de Melo (16):
tools headers: Update the fs headers with the kernel sources
tools headers UAPI: Sync linux/prctl.h with the kernel sources to pick FUTEX knob
tools kvm headers arm64: Update KVM header from the kernel sources
tools headers UAPI: Sync KVM's vmx.h header with the kernel sources
tools headers x86 svm: Sync svm headers with the kernel sources
tools headers UAPI: Sync kvm header with the kernel sources
perf beauty: Update copy of linux/socket.h with the kernel sources
tools headers UAPI: Sync the drm/drm.h with the kernel sources
tools headers UAPI: Sync linux/kvm.h with the kernel sources
tools headers: Update the copy of x86's mem{cpy,set}_64.S used in 'perf bench'
tools headers: Syncronize linux/build_bug.h with the kernel sources
tools arch x86: Sync the msr-index.h copy with the kernel sources
tools arch amd ibs: Sync ibs.h with the kernel sources
tools headers: Synchronize linux/bits.h with the kernel sources
perf bench futex: Fix prctl include in musl libc
tools headers x86 cpufeatures: Sync with the kernel sources

Chun-Tse Shao (1):
perf test: Restrict uniquifying test to machines with 'uncore_imc'

Ian Rogers (2):
perf evsel: Missed close() when probing hybrid core PMUs
perf test: Directory file descriptor leak

Namhyung Kim (1):
perf mem: Document new output fields (op, cache, mem, dtlb, snoop)

include/uapi/linux/bits.h | 4 +-
tools/arch/arm64/include/uapi/asm/kvm.h | 9 +--
tools/arch/x86/include/asm/amd/ibs.h | 5 ++
tools/arch/x86/include/asm/cpufeatures.h | 14 +++--
tools/arch/x86/include/asm/msr-index.h | 16 +++--
tools/arch/x86/include/uapi/asm/kvm.h | 71 ++++++++++++++++++++++
tools/arch/x86/include/uapi/asm/svm.h | 2 +
tools/arch/x86/include/uapi/asm/vmx.h | 5 +-
tools/arch/x86/lib/memcpy_64.S | 1 +
tools/arch/x86/lib/memset_64.S | 1 +
tools/include/linux/bits.h | 57 ++++++++++++++++-
tools/include/linux/build_bug.h | 10 +--
tools/include/linux/compiler.h | 8 +++
tools/include/uapi/drm/drm.h | 4 ++
tools/include/uapi/linux/fscrypt.h | 6 +-
tools/include/uapi/linux/kvm.h | 4 ++
tools/include/uapi/linux/stat.h | 8 ++-
tools/perf/Documentation/perf-amd-ibs.txt | 59 ++++++++++++------
tools/perf/Documentation/perf-mem.txt | 50 +++++++++++++++
tools/perf/bench/futex-hash.c | 1 -
tools/perf/bench/futex.c | 9 ++-
tools/perf/check-headers.sh | 2 +-
tools/perf/tests/shell/stat+event_uniquifying.sh | 12 +++-
tools/perf/tests/tests-scripts.c | 1 +
tools/perf/trace/beauty/include/linux/socket.h | 2 +-
tools/perf/trace/beauty/include/uapi/linux/fs.h | 1 +
tools/perf/trace/beauty/include/uapi/linux/prctl.h | 7 +++
tools/perf/trace/beauty/include/uapi/linux/stat.h | 8 ++-
tools/perf/util/include/linux/linkage.h | 4 ++
tools/perf/util/print-events.c | 1 +
30 files changed, 329 insertions(+), 53 deletions(-)