Skip to contentSkip to conversation

perf tools fixes for v7.4

GIT PULL Merged Arnaldo Carvalho de Melo 2 participants 2 messages Nov 22

lore
Share & tools
lore
#0 lore raw

Hi Linus,

I signed this with a new key, that is already in the kernel.org
pgpkeys git repo.

Please consider pulling.

Best regards,

- Arnaldo

The following changes since commit 05441d697f7f9a927264f4058cbbc6a03dfcac9d:

Merge tag 'cocci-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux (2026-11-03 08:36:32 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v7.4-1-2026-11-22

for you to fetch changes up to 82838789646f9f5881dd1c8b3a3c960ee2a28772:

perf record: Skip affinity for per-thread mmap buffers (2026-11-09 18:19:20 -0300)

----------------------------------------------------------------
perf tools fixes for v7.4

- perf record: skip affinity for per-thread mmap buffers and reject CPU indices at the mask size, avoiding out-of-bounds bitmap accesses.

- perf test: use software events for system-wide tests, mark the LBR test exclusive, and fix probe_vfs_getname debuginfo detection via a dry run.

- perf build: add -lzstd to the libbfd feature fallback for static binutils, and pass OUTPUT explicitly when building internal libraries.

- perf trace beauty: split the KVM ioctl table by direction so read and write ioctls sharing a number no longer conflict at build time.

- perf kvm: fix arm64 VM-exit duration accounting by pairing kvm_exit with the following kvm_entry as the end event.

- perf hist: use each branch's own cycle count for the sample weight instead of the first branch's, fixing multi-entry branch stacks.

- perf jevents: don't encode MSRs with no value, avoiding unset ldlat values in the affected Intel latency events.

- perf vendor events arm64 AmpereOneX: deprecate the old event name so scripts using it keep working while the renamed event is listed.

- perf intel-bts and intel-pt: free the old snapshot reference array when it grows past sixteen mappings, avoiding a leak.

- perf timechart and treport: initialize inherited attributes in their constructors, avoiding pylint warnings without Textual.

- perf tools: fix sync-headers generated commit messages to use longer SHAs and drop hunk headers that checkpatch mistakes for diff content.

- Sync the tools/ copies of gfp_types.h, gfp.h, KVM, sound/asound.h, msr-index.h, cpufeatures.h and if_addr.h with the kernel sources.

----------------------------------------------------------------
Arnaldo Carvalho de Melo (8):
tools headers UAPI: Sync linux/if_addr.h with the kernel sources tools arch x86: Sync the cpufeatures.h copy with the kernel sources tools arch x86: Sync the msr-index.h copy with the kernel sources tools headers: Sync UAPI sound/asound.h with the kernel sources perf trace beauty: Split the KVM ioctl table by direction tools headers: Sync KVM headers with the kernel sources tools headers: Sync linux/gfp_types.h with the kernel sources perf tools: Fix the sync-headers generated commit messages

Dmitry Safonov (1):
perf build: Override OUTPUT when building internal libraries

Gu Bin (1):
perf hist: Fix branch_info index for sample weight

Ian Rogers (3):
tools build: Add explicitly sequenced -lzstd to libbfd feature fallback perf build: Add explicitly sequenced -lzstd to libbfd feature fallback perf jevents: Don't encode MSRs with no value

James Clark (2):
perf test probe_vfs_getname: Fix missing debuginfo detection perf test: Don't starve per-process tests with system-wide events

Leo Yan (2):
perf treport: Initialize the subtitle in the constructor perf timechart: Initialize Textual attributes in constructors

Li RongQing (3):
perf kvm: Fix arm64 VM-exit duration accounting
perf intel-pt: Free the old snapshot reference array after growing it perf intel-bts: Free the old snapshot reference array after growing it

Paul Moses (2):
perf record: Reject CPU indices equal to the mask size perf record: Skip affinity for per-thread mmap buffers

TAKANO Mitsuhiro (1):
perf vendor events arm64 AmpereOneX: Deprecate BPU_FLUSH_MEM_FAULT

 tools/arch/x86/include/asm/cpufeatures.h              |  6 +++++-
 tools/arch/x86/include/asm/msr-index.h                |  7 +++++++
 tools/arch/x86/include/uapi/asm/svm.h                 |  2 ++
 tools/build/Makefile.feature                          |  3 ++-
 tools/build/feature/Makefile                          | 19 +++++++++++++------
 tools/include/linux/gfp.h                             |  4 ----
 tools/include/linux/gfp_types.h                       | 11 ++++++++---
 tools/include/uapi/linux/if_addr.h                    |  1 +
 tools/include/uapi/linux/kvm.h                        | 16 ++++++++++++++++
 tools/perf/Makefile.config                            |  3 +++
 tools/perf/Makefile.perf                              |  8 ++++----
 tools/perf/arch/x86/util/intel-bts.c                  |  1 +
 tools/perf/arch/x86/util/intel-pt.c                   |  1 +
 tools/perf/builtin-record.c                           |  6 +++---
 .../arch/arm64/ampere/ampereonex/memory.json          |  5 +++--
 tools/perf/pmu-events/jevents.py                      |  2 +-
 tools/perf/python/treport.py                          |  2 +-
 tools/perf/python/ttimechart.py                       |  2 ++
 tools/perf/scripts/sync-headers.sh                    | 18 +++++++++---------
 tools/perf/tests/shell/lib/probe_vfs_getname.sh       |  7 ++++++-
 tools/perf/tests/shell/record.sh                      |  6 +++---
 tools/perf/tests/shell/record_lbr.sh                  |  2 +-
 tools/perf/tests/shell/record_sideband.sh             |  4 ++--
 tools/perf/trace/beauty/include/uapi/sound/asound.h   |  3 ++-
 tools/perf/trace/beauty/ioctl.c                       |  6 ++++--
 tools/perf/trace/beauty/kvm_ioctl.sh                  |  9 +++++++++
 tools/perf/util/hist.c                                |  2 +-
 tools/perf/util/kvm-stat-arch/kvm-stat-arm64.c        | 14 +++++++-------
 tools/perf/util/mmap.c                                |  4 ++--
 29 files changed, 119 insertions(+), 55 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 22 Nov 2026 18:11:28 -0300:

The pull request you sent on Sun, 22 Nov 2026 18:11:28 -0300:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v7.4-1-2026-11-22

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6e4122f0242a3262512ee3e6f2e7e6de0bd5792b

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html