Files
android_kernel_xiaomi_sm8450/arch/arm/kernel
Mark Rutland e1f431b57e ARM: perf: refactor event mapping
Currently mapping an event type to a hardware configuration value
depends on the data being pointed to from struct arm_pmu. These fields
(cache_map, event_map, raw_event_mask) are currently specific to CPU
PMUs, and do not serve the general case well.

This patch replaces the event map pointers on struct arm_pmu with a new
'map_event' function pointer. Small shim functions are used to reuse
the existing common code.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Ashwin Chaugule <ashwinc@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2011-08-31 10:50:09 +01:00
..
2008-08-12 19:54:09 +01:00
2008-05-30 10:33:49 +02:00
2011-03-29 14:47:58 +02:00
2008-09-06 12:10:45 +01:00
2010-10-29 13:14:40 -05:00
2011-07-13 17:32:48 +00:00
2011-08-04 08:24:29 +01:00
2011-08-31 10:50:09 +01:00
2010-12-20 23:07:36 +08:00
2011-07-26 16:49:47 -07:00
2011-01-15 09:27:04 +00:00
2011-07-26 16:49:47 -07:00