diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2016-07-20 09:51:11 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-07-20 09:57:34 +0200 |
commit | 37b502f121adab26ccc2769c3063f0e1272be7de (patch) | |
tree | 68e8d160f3344282a5b7d64737b9fed3f5435b75 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c76c15e6f16c1529b524ba2c519c4fcef7a45e16 (diff) |
arm/perf: Fix hotplug state machine conversion
Mark Rutland pointed out that this commit is incomplete:
7d88eb695a1f ("arm/perf: Convert to hotplug state machine")
The problem is that:
> We may have multiple PMUs (e.g. two in big.LITTLE systems), and
> __oprofile_cpu_pmu only contains one of these. So this conversion is not
> correct.
>
> We were relying on the notifier list implicitly containing a list of
> those PMUs. It seems like we need an explicit list here.
>
> We keep __oprofile_cpu_pmu around for legacy 32-bit users of OProfile
> (on non-hetereogeneous systems), and that's all that the variable should
> be used for.
Introduce arm_pmu_list to correctly handle multiple PMUs in the system.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Anna-Maria Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions