[GIT PULL] perf tools fixes for v6.12

From: Arnaldo Carvalho de Melo
Date: Tue Oct 08 2024 - 09:56:17 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit eee280841e1c8188fe9af5536c193d07d184e874:

Merge tag 'mm-hotfixes-stable-2024-09-27-09-45' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (2024-09-27 10:27:22 -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.12-1-2024-10-08

for you to fetch changes up to e934a35e3cc1fe0bfb1bc771e64f3ba6e70c40e2:

perf cs-etm: Fix the assert() to handle captured and unprocessed cpu trace (2024-10-02 18:21:49 -0300)

----------------------------------------------------------------
perf tools fixes for v6.12:

- Fix an assert() to handle captured and unprocessed ARM CoreSight CPU traces.

- Fix static build compilation error when libdw isn't installed or is too old.

- Add missing include when building with !HAVE_DWARF_GETLOCATIONS_SUPPORT.

- Add missing refcount put on 32-bit DSOs.

- Fix disassembly of user space binaries by setting the binary_type of DSO when
loading.

- Update headers with the kernel sources, including asound.h, sched.h, fcntl,
msr-index.h, irq_vectors.h, socket.h, list_sort.c and arm64's cputype.h.

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

----------------------------------------------------------------
Arnaldo Carvalho de Melo (11):
Merge remote-tracking branch 'torvalds/master' into perf-tools
tools include UAPI: Sync sound/asound.h copy with the kernel sources
tools include UAPI: Sync linux/sched.h copy with the kernel sources
tools include UAPI: Sync linux/fcntl.h copy with the kernel sources
tools arch x86: Sync the msr-index.h copy with the kernel sources
perf trace beauty: Update the arch/x86/include/asm/irq_vectors.h copy with the kernel sources
tools headers UAPI: Sync the linux/in.h with the kernel sources
perf beauty: Update copy of linux/socket.h with the kernel sources
tools check_headers.sh: Add check variant that excludes some hunks
perf tools: Cope with differences for lib/list_sort.c copy from the kernel
tools headers arm64: Sync arm64's cputype.h with the kernel sources

Ian Rogers (1):
perf vdso: Missed put on 32-bit dsos

Ilkka Koskinen (1):
perf cs-etm: Fix the assert() to handle captured and unprocessed cpu trace

James Clark (1):
perf dwarf-aux: Fix build with !HAVE_DWARF_GETLOCATIONS_SUPPORT

Namhyung Kim (1):
perf symbol: Set binary_type of dso when loading

Yang Jihong (2):
perf build: Fix static compilation error when libdw is not installed
perf build: Fix build feature-dwarf_getlocations fail for old libdw

tools/arch/arm64/include/asm/cputype.h | 2 +
tools/arch/x86/include/asm/msr-index.h | 2 +
tools/build/feature/Makefile | 5 +-
tools/include/uapi/linux/in.h | 2 +-
tools/perf/Makefile.config | 7 +-
.../perf/check-header_ignore_hunks/lib/list_sort.c | 31 ++++++++
tools/perf/check-headers.sh | 29 +++++++-
.../beauty/arch/x86/include/asm/irq_vectors.h | 4 +-
tools/perf/trace/beauty/fs_at_flags.sh | 5 ++
tools/perf/trace/beauty/include/linux/socket.h | 1 +
tools/perf/trace/beauty/include/uapi/linux/fcntl.h | 84 +++++++++++++++-------
tools/perf/trace/beauty/include/uapi/linux/sched.h | 1 +
.../perf/trace/beauty/include/uapi/sound/asound.h | 17 ++++-
tools/perf/trace/beauty/msg_flags.c | 4 ++
tools/perf/util/cs-etm.c | 2 +-
tools/perf/util/dwarf-aux.h | 1 +
tools/perf/util/symbol.c | 3 +
tools/perf/util/vdso.c | 4 +-
18 files changed, 170 insertions(+), 34 deletions(-)
create mode 100644 tools/perf/check-header_ignore_hunks/lib/list_sort.c