Commit 73ffe581 authored by Ashwin Chaugule's avatar Ashwin Chaugule Committed by Bryan Huntsman
Browse files

ARM: Perfevents: Make L2 Cycle counter raw code consistent



The L2 cycle counter is a different counter than the one used
for counting L1 cycles but they shared the same raw code,
0xff only to be differentiated by the PMU_TYPE_SHARED identifier.

perf stat -e rsff counted L2 cycles
perf stat -e rff counted L1 cycles

Keep the raw event code for the two separate.
0xfe for L2 cycles reduces chances of counting the wrong
thing accidently.

Signed-off-by: default avatarAshwin Chaugule <ashwinc@codeaurora.org>
parent fa53b9fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment