[GIT PULL] perf tools fixes for v6.5: 2nd batch
From: Arnaldo Carvalho de Melo
Date: Thu Aug 03 2023 - 17:45:37 EST
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit 6eaae198076080886b9e7d57f4ae06fa782f90ef:
Linux 6.5-rc3 (2023-07-23 15:24:10 -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.5-2-2023-08-03
for you to fetch changes up to 07d2b820fd75b96f550c93503f19c8cfcbc577cf:
perf test parse-events: Test complex name has required event format (2023-08-01 00:32:00 -0300)
----------------------------------------------------------------
perf tools fixes for 6.5: 2nd batch
- Fix segfault in the powerpc specific arch_skip_callchain_idx function.
The patch doing the reference count init/exit that went into 6.5 missed
this function.
- Fix regression reading the arm64 PMU cpu slots in sysfs, a patch removing
some code duplication ended up duplicating the /sysfs prefix for these files.
- Fix grouping of events related to topdown, addressing a regression on the CSV
output produced by 'perf stat' noticed on the downstream tool toplev.
- Fix the uprobe_from_different_cu 'perf test' entry, it is failing when
gcc isn't available, so we need to check that and skip the test if it
is not installed.
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
----------------------------------------------------------------
Athira Rajeev (1):
perf callchain powerpc: Fix addr location init during arch_skip_callchain_idx function
Georg Müller (1):
perf test uprobe_from_different_cu: Skip if there is no gcc
Haixin Yu (1):
perf pmu arm64: Fix reading the PMU cpu slots in sysfs
Ian Rogers (5):
perf parse-events: Extra care around force grouped events
perf parse-events: When fixing group leaders always set the leader
perf parse-events: Only move force grouped evsels when sorting
perf pmus: Create placholder regardless of scanning core_only
perf test parse-events: Test complex name has required event format
tools/perf/arch/arm64/util/pmu.c | 7 +--
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 4 ++
tools/perf/tests/parse-events.c | 12 ++++-
.../tests/shell/test_uprobe_from_different_cu.sh | 8 ++-
tools/perf/util/parse-events.c | 58 ++++++++++++++--------
tools/perf/util/pmu.c | 11 ++++
tools/perf/util/pmu.h | 1 +
tools/perf/util/pmus.c | 16 +++---
8 files changed, 81 insertions(+), 36 deletions(-)