[GIT PULL] perf tools fixes for v7.0: 2nd batch

From: Arnaldo Carvalho de Melo

Date: Mon Mar 23 2026 - 07:04:34 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit 04a9f1766954687f0a1b7a0f7184dc4f86edcb30:

Merge tag 'soc-fixes-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc (2026-03-18 08:28:54 -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-v7.0-2-2026-03-23

for you to fetch changes up to 493ad070cbcb0d62deed877d90e80e554cac7f01:

tools headers: Synchronize linux/build_bug.h with the kernel sources (2026-03-22 18:34:39 -0300)

----------------------------------------------------------------
perf tools fixes for v7.0: 2nd batch

o Fix parsing 'overwrite' in command line event definitions in
big-endian machines by writing correct union member.

o Fix finding default metric in 'perf stat'.

o Fix relative paths for including headers in 'perf kvm stat'.

o Sync header copies with the kernel sources: msr-index.h, kvm,
build_bug.h.

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

----------------------------------------------------------------
Arnaldo Carvalho de Melo (5):
Merge remote-tracking branch 'torvalds/master' into perf-tools
tools arch x86: Sync the msr-index.h copy with the kernel sources
tools headers UAPI: Sync linux/kvm.h with the kernel sources
tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
tools headers: Synchronize linux/build_bug.h with the kernel sources

Ian Rogers (1):
perf metricgroup: Fix metricgroup__has_metric_or_groups()

Leo Yan (2):
tools headers: Skip arm64 cputype.h check
perf kvm stat: Fix relative paths for including headers

Thomas Richter (1):
perf parse-events: Fix big-endian 'overwrite' by writing correct union member

tools/arch/x86/include/asm/msr-index.h | 5 +-
tools/arch/x86/include/uapi/asm/kvm.h | 1 +
tools/include/linux/build_bug.h | 4 +-
tools/include/uapi/linux/kvm.h | 8 +++
tools/perf/check-headers.sh | 1 -
tools/perf/util/kvm-stat-arch/kvm-stat-x86.c | 6 +-
tools/perf/util/metricgroup.c | 6 +-
tools/perf/util/parse-events.c | 82 ++++++++++++++++++++++------
8 files changed, 87 insertions(+), 26 deletions(-)