[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221026204443.158004-1-acme@kernel.org>
Date: Wed, 26 Oct 2022 17:44:43 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Clark Williams <williams@...hat.com>,
Kate Carcia <kcarcia@...hat.com>, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Greg Thelen <gthelen@...gle.com>,
Ian Rogers <irogers@...gle.com>,
Kajol Jain <kjain@...ux.ibm.com>,
Shang XiaoJing <shangxiaojing@...wei.com>,
Sven Schnelle <svens@...ux.ibm.com>,
Thomas Richter <tmricht@...ux.ibm.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: [GIT PULL] perf tools fixes for v6.1: 1st batch
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit 4dc12f37a8e98e1dca5521c14625c869537b50b6:
Merge tag 'platform-drivers-x86-v6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 (2022-10-25 12:05:08 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.1-2022-10-26
for you to fetch changes up to e9229d5b6254a75291536f582652c599957344d2:
perf vendor events arm64: Fix incorrect Hisi hip08 L3 metrics (2022-10-26 11:01:56 -0300)
----------------------------------------------------------------
perf tools fixes for v6.1: 1st batch
- Fix some aspects of building with an older (than the one in the kernel
sources) libbpf present in a distro, when building with LIBBPF_DYNAMIC=1.
- Fix errno setting races with event_fd and the signal handler in 'perf record'.
- Fix Power10 hv-24x7 metric events when some events may have a zero count based
on system configuration.
- Do not fail Intel-PT misc test w/o libpython, just skip it.
- Fix incorrect arm64 Hisi hip08 L3 metrics (IF_BP_MISP_BR_RET,
IF_BP_MISP_BR_RET, IF_BP_MISP_BR_BL) due to mistakes in the documentation used
to generate the JSON files for these metrics.
- Fix auxtrace (Intel PT, ARM Coresight) address filter symbol name match for
modules, we need to skip the module name.
- Sync copies of files with the kernel sources, including ppc syscall tables
and assorted headers, some resulting in tools being able to decode new network
protocols (IPPROTO_L2TP) and statx masks (STATX_DIOALIGN).
- Fix PMU name pai_crypto in the vendor events file (JSON) for s390.
- Fix man page build wrt perf-arm-coresight.txt as the build process assumes
files starting with 'perf-' are man pages, and this file isn't one.
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
----------------------------------------------------------------
Adrian Hunter (2):
perf docs: Fix man page build wrt perf-arm-coresight.txt
perf auxtrace: Fix address filter symbol name match for modules
Arnaldo Carvalho de Melo (10):
tools headers UAPI: Sync powerpc syscall tables with the kernel sources
perf bpf: Fix build with libbpf 0.7.0 by adding prototype for bpf_load_program()
perf bpf: Fix build with libbpf 0.7.0 by checking if bpf_program__set_insns() is available
tools headers arm64: Sync arm64's cputype.h with the kernel sources
tools headers: Update the copy of x86's memcpy_64.S used in 'perf bench'
tools headers uapi: Update linux/in.h copy
tools include UAPI: Sync sound/asound.h copy with the kernel sources
tools headers uapi: Sync linux/stat.h with the kernel sources
tools headers cpufeatures: Sync with the kernel sources
tools headers UAPI: Sync linux/perf_event.h with the kernel sources
Ian Rogers (1):
perf record: Fix event fd races
Kajol Jain (1):
perf vendor events power10: Fix hv-24x7 metric events
Namhyung Kim (1):
perf test: Do not fail Intel-PT misc test w/o libpython
Shang XiaoJing (1):
perf vendor events arm64: Fix incorrect Hisi hip08 L3 metrics
Thomas Richter (1):
perf list: Fix PMU name pai_crypto in perf list on s390
tools/arch/arm64/include/asm/cputype.h | 4 ++
tools/arch/x86/include/asm/cpufeatures.h | 2 +-
tools/arch/x86/lib/memcpy_64.S | 2 +-
tools/build/Makefile.feature | 1 +
tools/build/feature/Makefile | 4 ++
.../feature/test-libbpf-bpf_program__set_insns.c | 8 +++
tools/include/uapi/linux/in.h | 22 +++----
tools/include/uapi/linux/perf_event.h | 27 +++++---
tools/include/uapi/linux/stat.h | 4 +-
tools/include/uapi/sound/asound.h | 16 -----
.../{perf-arm-coresight.txt => arm-coresight.txt} | 0
tools/perf/Makefile.config | 5 ++
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 16 +++--
tools/perf/builtin-record.c | 41 +++++++-----
tools/perf/check-headers.sh | 2 +-
.../arch/arm64/hisilicon/hip08/metrics.json | 6 +-
.../arch/powerpc/power10/nest_metrics.json | 72 +++++++++++-----------
.../arch/s390/cf_z16/{pai.json => pai_crypto.json} | 0
tools/perf/tests/shell/test_intel_pt.sh | 6 ++
tools/perf/trace/beauty/statx.c | 1 +
tools/perf/util/auxtrace.c | 10 ++-
tools/perf/util/bpf-event.c | 5 ++
tools/perf/util/bpf-loader.c | 18 ++++++
tools/perf/util/include/linux/linkage.h | 13 ++++
24 files changed, 181 insertions(+), 104 deletions(-)
create mode 100644 tools/build/feature/test-libbpf-bpf_program__set_insns.c
rename tools/perf/Documentation/{perf-arm-coresight.txt => arm-coresight.txt} (100%)
rename tools/perf/pmu-events/arch/s390/cf_z16/{pai.json => pai_crypto.json} (100%)
Powered by blists - more mailing lists