diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-07-10 09:59:56 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-10 10:28:29 +0200 |
commit | 984b838ce69c063a91b87550598ab7f3439dd94a (patch) | |
tree | 70654d87c9964a16642ef6d5d9d3c420f788bfae /kernel | |
parent | 9c74fb50867e8fb5f3be3be06716492c0f79309e (diff) |
perf_counter: Clean up global vs counter enable
Ingo noticed that both AMD and P6 call
x86_pmu_disable_counter() on *_pmu_enable_counter(). This is
because we rely on the side effect of that call to program
the event config but not touch the EN bit.
We change that for AMD by having enable_all() simply write
the full config in, and for P6 by explicitly coding it.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions