[GIT PULL] perf tools fixes for v6.7: 2nd batch

From: Namhyung Kim
Date: Fri Dec 08 2023 - 17:33:08 EST


Hi Linus,

Please consider pulling the perf tools fixes.

Thanks,
Namhyung


The following changes since commit 57686a72da08ae555d93148aa8756b16417a6aff:

tools: Disable __packed attribute compiler warning due to -Werror=attributes (2023-11-22 12:23:27 -0800)

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.7-2-2023-12-08

for you to fetch changes up to b1693747487442984050eb0f462b83a3a8307525:

perf list: Fix JSON segfault by setting the used skip_duplicate_pmus callback (2023-12-05 11:16:00 -0800)

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

A random set of small bug fixes including:

* Fix segfault on AmpereOne due to missing default metricgroup name.
* Fix segfault on `perf list --json` due to NULL pointer.

Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

----------------------------------------------------------------
Ian Rogers (2):
perf metrics: Avoid segv if default metricgroup isn't set
perf list: Fix JSON segfault by setting the used skip_duplicate_pmus callback

Ilkka Koskinen (1):
perf vendor events arm64: AmpereOne: Add missing DefaultMetricgroupName fields

tools/perf/builtin-list.c | 6 ++++++
tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json | 2 ++
tools/perf/util/metricgroup.c | 2 +-
3 files changed, 9 insertions(+), 1 deletion(-)