linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] perf tools fixes for v6.12: 2nd batch
@ 2024-10-30 20:47 Arnaldo Carvalho de Melo
  2024-10-30 22:10 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-10-30 20:47 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Ingo Molnar, Thomas Gleixner, Jiri Olsa, Namhyung Kim, Ian Rogers,
	Adrian Hunter, Kan Liang, Clark Williams, linux-kernel,
	linux-perf-users, Arnaldo Carvalho de Melo, Howard Chu,
	James Clark, Jiri Slaby, Veronika Molnarova,
	Arnaldo Carvalho de Melo

Hi Linus,

	Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit c964ced7726294d40913f2127c3f185a92cb4a41:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2024-10-16 13:37:59 -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-2-2024-10-30

for you to fetch changes up to a5384c426744ebe41dafc6e5fa3acecc05e43462:

  perf cap: Add __NR_capget to arch/x86 unistd (2024-10-28 13:04:52 -0300)

----------------------------------------------------------------
perf tools fixes for v6.12: 2nd batch

- Update more header copies with the kernel sources, including const.h,
  msr-index.h, arm64's cputype.h, kvm's, bits.h and unaligned.h

- The return from 'write' isn't a pid, fix cut'n'paste error in 'perf
  trace'.

- Fix up the python binding build on architectures without
  HAVE_KVM_STAT_SUPPORT.

- Add some more bounds checks to augmented_raw_syscalls.bpf.c (used to
  collect syscall pointer arguments in 'perf trace') to make the
  resulting bytecode to pass the kernel BPF verifier, allowing us to go
  back accepting clang 12.0.1 as the minimum version required for
  compiling BPF sources.

- Add __NR_capget for x86 to fix a regression on running perf + intel PT
  (hw tracing) as non-root setting up the capabilities as described in
  https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html.

- Fix missing syscalltbl in non-explicitly listed architectures, noticed
  on ARM 32-bit, that still needs a .tbl generator for the syscall
  id<->name tables, should be added for v6.13.

- Handle 'perf test' failure when handling broken DWARF for ASM files.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (9):
      tools headers UAPI: Sync linux/const.h with the kernel headers
      perf trace: The return from 'write' isn't a pid
      perf trace augmented_raw_syscalls: Add extra array index bounds checking to satisfy some BPF verifiers
      tools headers UAPI: Sync kvm headers with the kernel sources
      perf python: Fix up the build on architectures without HAVE_KVM_STAT_SUPPORT
      tools arch x86: Sync the msr-index.h copy with the kernel sources
      tools headers: Synchronize {uapi/}linux/bits.h with the kernel sources
      tools headers arm64: Sync arm64's cputype.h with the kernel sources
      tools headers: Update the linux/unaligned.h copy with the kernel sources

Howard Chu (2):
      perf trace augmented_raw_syscalls: Add more checks to pass the verifier
      perf build: Change the clang check back to 12.0.1

Ian Rogers (1):
      perf cap: Add __NR_capget to arch/x86 unistd

Jiri Slaby (1):
      perf trace: Fix non-listed archs in the syscalltbl routines

Veronika Molnarova (1):
      perf test: Handle perftool-testsuite_probe failure due to broken DWARF

 tools/arch/arm64/include/asm/cputype.h             |  2 +
 tools/arch/x86/include/asm/msr-index.h             | 34 ++++++-----
 tools/arch/x86/include/uapi/asm/kvm.h              |  1 +
 tools/arch/x86/include/uapi/asm/unistd_32.h        |  3 +
 tools/arch/x86/include/uapi/asm/unistd_64.h        |  3 +
 tools/include/linux/bits.h                         | 15 +++++
 tools/include/linux/unaligned.h                    | 11 +---
 tools/include/uapi/linux/bits.h                    |  3 +
 tools/include/uapi/linux/const.h                   | 17 ++++++
 tools/include/vdso/unaligned.h                     | 15 +++++
 tools/perf/Makefile.config                         |  4 +-
 tools/perf/builtin-trace.c                         |  2 +-
 tools/perf/check-headers.sh                        |  1 +
 .../shell/base_probe/test_adding_blacklisted.sh    | 69 +++++++++++++++++-----
 .../util/bpf_skel/augmented_raw_syscalls.bpf.c     | 22 ++++++-
 tools/perf/util/cap.c                              | 10 +---
 tools/perf/util/python.c                           |  3 +
 tools/perf/util/syscalltbl.c                       | 10 ++++
 18 files changed, 174 insertions(+), 51 deletions(-)
 create mode 100644 tools/include/vdso/unaligned.h

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] perf tools fixes for v6.12: 2nd batch
  2024-10-30 20:47 [GIT PULL] perf tools fixes for v6.12: 2nd batch Arnaldo Carvalho de Melo
@ 2024-10-30 22:10 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-10-30 22:10 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Linus Torvalds, Ingo Molnar, Thomas Gleixner, Jiri Olsa,
	Namhyung Kim, Ian Rogers, Adrian Hunter, Kan Liang,
	Clark Williams, linux-kernel, linux-perf-users,
	Arnaldo Carvalho de Melo, Howard Chu, James Clark, Jiri Slaby,
	Veronika Molnarova, Arnaldo Carvalho de Melo

The pull request you sent on Wed, 30 Oct 2024 17:47:52 -0300:

> git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.12-2-2024-10-30

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/14b7d43c5c068cb9688a9fe68883f4340effb053

Thank you!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-30 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 20:47 [GIT PULL] perf tools fixes for v6.12: 2nd batch Arnaldo Carvalho de Melo
2024-10-30 22:10 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).