libperf mmap: Arm64: fix transposed reads of counters 12 and 13
Ian Rogers
reviewerPATCH 1/1 libperf mmap: Arm64: fix transposed reads of counters 12 and 13
Reported in Sashiko bug linux-3291a858-209c-483a-b4dc-eeb57abdaee6, the 2 counter read functions for counters 12 and 13 are transposed.
Fixes 407eb43ae87c ("libperf: Add arm64 support to perf_mmap__read_self()")
Signed-off-by Ian Rogers <[email protected]>
--- tools/lib/perf/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/perf/mmap.c +1 -1
@@ -376,8 +376,8 @@ static u64 read_perf_counter(unsigned int counter) read_pmevcntr_9, read_pmevcntr_10, read_pmevcntr_11, - read_pmevcntr_13, read_pmevcntr_12, + read_pmevcntr_13, read_pmevcntr_14, read_pmevcntr_15, read_pmevcntr_16,
Signature · 1 line
2.56.1.708.g77570a6a1d-goog
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 5 lines
Reported in Sashiko bug linux-3291a858-209c-483a-b4dc-eeb57abdaee6, the 2 counter read functions for counters 12 and 13 are transposed.
Fixes 407eb43ae87c ("libperf: Add arm64 support to perf_mmap__read_self()")Signed-off-by Ian Rogers <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1