perf vendor events arm64 AmpereOneX: Fix frontend_bound calculation
authorIlkka Koskinen <ilkka@os.amperecomputing.com>
Thu, 13 Mar 2025 20:15:59 +0000 (20:15 +0000)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 21 Mar 2025 05:58:57 +0000 (22:58 -0700)
commit182f12f3193341c3400ae719a34c00a8a1204cff
tree320d0d756704387c66bc85269254623384938013
parentc0b60ce4615a4392338d833d59040f5fe2857d2c
perf vendor events arm64 AmpereOneX: Fix frontend_bound calculation

frontend_bound metrics was miscalculated due to different scaling in
a couple of metrics it depends on. Change the scaling to match with
AmpereOne.

Fixes: 16438b652b46 ("perf vendor events arm64 AmpereOneX: Add core PMU events and metrics")
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250313201559.11332-3-ilkka@os.amperecomputing.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/arm64/ampere/ampereonex/metrics.json