pmu: Use bitmap instead of index to specify counters / events
Let the software index (or number) same as the hardware index at the same time. Change-Id: I847180e94bf2c57644ae2f8f571cdb4a84eac991
This commit is contained in:
@ -33,7 +33,7 @@ static inline bool pte_is_write_combined(pte_t pte)
|
||||
}
|
||||
#endif /* POSTK_DEBUG_ARCH_DEP_12 */
|
||||
|
||||
#define ARMV8_IDX_COUNTER0 1
|
||||
#define ARMV8_IDX_COUNTER0 0
|
||||
#define ARCH_PERF_COUNTER_START ARMV8_IDX_COUNTER0
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
|
||||
|
||||
Reference in New Issue
Block a user