Mark Rutland af66abfe2e arm: perf: fold hotplug notifier into arm_pmu
Handling multiple PMUs using a single hotplug notifier requires a list
of PMUs to be maintained, with synchronisation in the probe, remove, and
notify paths. This is error-prone and makes the code much harder to
maintain.

Instead of using a single notifier, we can dynamically allocate a
notifier block per-PMU. The end result is the same, but the list of PMUs
is implicit in the hotplug notifier list rather than within a perf-local
data structure, which makes the code far easier to handle.

Signed-off-by: Mark Rutland <mark.rutland at arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2014-10-30 12:17:01 +00:00
..
2014-08-09 14:07:59 +01:00
2012-03-28 18:30:01 +01:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2014-10-30 12:16:58 +00:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00