perf/arm-cmn: Fix HN-F class_occup_id events
authorRobin Murphy <robin.murphy@arm.com>
Thu, 23 Nov 2023 11:58:13 +0000 (11:58 +0000)
committerWill Deacon <will@kernel.org>
Tue, 5 Dec 2023 12:17:02 +0000 (12:17 +0000)
commit590f23b092401f29e410fd4ca67128fcc45192fc
tree895163f60babb8ac04b68f747375f3eab830a1d9
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
perf/arm-cmn: Fix HN-F class_occup_id events

A subtle copy-paste error managed to slip through the reorganisation
of these patches in development, and not only give some HN-F events
the wrong type, but use that wrong type before the subsequent patch
defined it. Too late to fix history, but we can at least fix the bug.

Fixes: b1b7dc38e482 ("perf/arm-cmn: Refactor HN-F event selector macros")
Reported-by: Jing Zhang <renyu.zj@linux.alibaba.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/5a22439de84ff188ef76674798052448eb03a3e1.1700740693.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-cmn.c