[GIT PULL] perf-tools fixes for v6.13

From: Namhyung Kim
Date: Thu Dec 12 2024 - 16:57:13 EST


Hi Linus,

Please consider pulling the following changes in perf tools for v6.13.

Thanks,
Namhyung


The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

Linux 6.13-rc1 (2024-12-01 14:28:56 -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.13-2024-12-12

for you to fetch changes up to 434fffa926b10706f2bde2db22979d68463302fc:

perf probe: Fix uninitialized variable (2024-12-11 21:40:46 -0800)

----------------------------------------------------------------
perf tools fixes for v6.13

A set of random fixes for this cycle.

perf record
-----------
* Fix build-id event size calculation in perf record
* Fix perf record -C/--cpu option on hybrid systems
* Fix perf mem record with precise-ip on SapphireRapids

perf test
---------
* Refresh hwmon directory before reading the test files
* Make sure system_tsc_freq event is tested on x86 only

Others
------
* Usual header file sync
* Fix undefined behavior in perf ftrace profile
* Properly initialize a return variable in perf probe

Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
perf machine: Initialize machine->env to address a segfault

Ian Rogers (3):
perf hwmon_pmu: Use openat rather than dup to refresh directory
perf test hwmon_pmu: Fix event file location
perf test expr: Fix system_tsc_freq for only x86

James Clark (3):
perf test: Don't signal all processes on system when interrupting tests
libperf: evlist: Fix --cpu argument on hybrid platform
perf probe: Fix uninitialized variable

Kuan-Wei Chiu (1):
perf ftrace: Fix undefined behavior in cmp_profile_data()

Namhyung Kim (13):
perf tools: Fix build-id event recording
tools headers: Sync uapi/drm/drm.h with the kernel sources
tools headers: Sync uapi/linux/perf_event.h with the kernel sources
tools headers: Sync uapi/linux/kvm.h with the kernel sources
tools headers: Sync x86 kvm and cpufeature headers with the kernel
tools headers: Sync arm64 kvm header with the kernel sources
tools headers: Sync *xattrat syscall changes with the kernel sources
tools headers: Sync uapi/asm-generic/mman.h with the kernel sources
tools headers: Sync uapi/linux/fcntl.h with the kernel sources
tools headers: Sync uapi/linux/mount.h with the kernel sources
tools headers: Sync uapi/linux/prctl.h with the kernel sources
perf tools: Fix build error on generated/fs_at_flags_array.c
perf tools: Fix precise_ip fallback logic

tools/arch/arm64/include/uapi/asm/kvm.h | 6 +++++
tools/arch/x86/include/asm/cpufeatures.h | 11 ++++++--
tools/arch/x86/include/uapi/asm/kvm.h | 1 +
tools/include/uapi/asm-generic/mman.h | 4 +++
tools/include/uapi/asm-generic/unistd.h | 11 +++++++-
tools/include/uapi/drm/drm.h | 17 +++++++++++++
tools/include/uapi/linux/kvm.h | 8 ++++++
tools/include/uapi/linux/perf_event.h | 11 +++++++-
tools/lib/perf/evlist.c | 18 ++++++++++++--
.../perf/arch/mips/entry/syscalls/syscall_n64.tbl | 4 +++
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 4 +++
tools/perf/arch/s390/entry/syscalls/syscall.tbl | 4 +++
tools/perf/arch/x86/entry/syscalls/syscall_32.tbl | 4 +++
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 4 +++
tools/perf/builtin-ftrace.c | 3 ++-
tools/perf/tests/builtin-test.c | 2 +-
tools/perf/tests/expr.c | 19 ++++++++------
tools/perf/tests/hwmon_pmu.c | 29 ++++++++++++++--------
tools/perf/trace/beauty/fs_at_flags.sh | 3 ++-
tools/perf/trace/beauty/include/uapi/linux/fcntl.h | 5 +---
tools/perf/trace/beauty/include/uapi/linux/mount.h | 14 +++++++++--
tools/perf/trace/beauty/include/uapi/linux/prctl.h | 27 +++++++++++++++++++-
tools/perf/util/build-id.c | 4 +--
tools/perf/util/evsel.c | 6 ++---
tools/perf/util/hwmon_pmu.c | 15 ++++++++---
tools/perf/util/machine.c | 2 ++
tools/perf/util/probe-event.c | 2 +-
27 files changed, 194 insertions(+), 44 deletions(-)