Robert Richter d45dd923fc perf, x86: Use helper function in x86_pmu_enable_all()
Use helper function in x86_pmu_enable_all() to minimize access to
x86_pmu.eventsel in the fast path. The counter's msr address is now
calculated using struct hw_perf_event. Later we add code that
calculates the msr addresses with a table lookup which shouldn't be
done in the fast path.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1296664860-10886-2-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-02-16 13:30:49 +01:00
..
2011-01-21 11:55:31 +01:00
2011-01-21 11:55:25 +01:00
2011-01-21 11:55:32 +01:00
2011-01-21 11:55:24 +01:00
2011-01-21 11:55:32 +01:00
2011-02-05 21:46:35 +01:00
2011-01-21 11:55:31 +01:00
2011-01-21 11:55:33 +01:00
2011-02-15 07:34:16 -08:00
2011-01-21 11:55:34 +01:00
2011-01-21 11:55:34 +01:00
2011-01-21 11:55:34 +01:00
2011-01-21 11:55:35 +01:00