diff options
| author | Robert Richter <[email protected]> | 2011-02-02 17:40:56 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-02-16 13:30:49 +0100 |
| commit | d45dd923fcc620c948bd1eda16cc61426ac31646 (patch) | |
| tree | b80b08355f79553e0c3b201e0d99d69a7ef24345 /scripts/patch-kernel | |
| parent | 023695d96ee06f36cf5014e286edcd623e9fb847 (diff) | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions