linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
	Ian Rogers <irogers@google.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Kan Liang <kan.liang@linux.intel.com>,
	Clark Williams <williams@redhat.com>,
	linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Howard Chu <howardchu95@gmail.com>,
	James Clark <james.clark@linaro.org>, Jiri Slaby <jslaby@suse.cz>,
	Veronika Molnarova <vmolnaro@redhat.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [GIT PULL] perf tools fixes for v6.12: 2nd batch
Date: Wed, 30 Oct 2024 17:47:52 -0300	[thread overview]
Message-ID: <20241030204752.316247-1-acme@kernel.org> (raw)

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

             reply	other threads:[~2024-10-30 20:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 20:47 Arnaldo Carvalho de Melo [this message]
2024-10-30 22:10 ` [GIT PULL] perf tools fixes for v6.12: 2nd batch pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241030204752.316247-1-acme@kernel.org \
    --to=acme@kernel.org \
    --cc=acme@redhat.com \
    --cc=adrian.hunter@intel.com \
    --cc=howardchu95@gmail.com \
    --cc=irogers@google.com \
    --cc=james.clark@linaro.org \
    --cc=jolsa@kernel.org \
    --cc=jslaby@suse.cz \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=vmolnaro@redhat.com \
    --cc=williams@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).