perf vendor events arm64: AmpereOne: Add missing DefaultMetricgroupName fields
authorIlkka Koskinen <ilkka@os.amperecomputing.com>
Fri, 1 Dec 2023 02:15:48 +0000 (18:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:45:29 +0000 (18:45 +0100)
commit0fdd1b8848217a6c2ae79ded51880713de2a32ea
treebcd236f44385fea8e4595c451f3f7a3153307839
parentf78fff4648bb0a797359dac69792463efd22bb00
perf vendor events arm64: AmpereOne: Add missing DefaultMetricgroupName fields

[ Upstream commit 90fe70d4e23cb57253d2668a171d5695c332deb7 ]

AmpereOne metrics were missing DefaultMetricgroupName from metrics with
"Default" in group name resulting perf to segfault. Add the missing
field to address the issue.

Fixes: 59faeaf80d02 ("perf vendor events arm64: Fix for AmpereOne metrics")
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20231201021550.1109196-2-ilkka@os.amperecomputing.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json