diff options
author | 2010-01-25 15:58:43 +0100 | |
---|---|---|
committer | 2010-01-29 09:01:45 +0100 | |
commit | 2e8418736dff9c6fdadb2f87dcc2087cebf32167 (patch) | |
tree | 983d0a5dad6e879d168fbeca457b104c27e0c775 /tools/perf/scripts/python | |
parent | perf, x86: Clean up event constraints code a bit (diff) | |
download | wireguard-linux-2e8418736dff9c6fdadb2f87dcc2087cebf32167.tar.xz wireguard-linux-2e8418736dff9c6fdadb2f87dcc2087cebf32167.zip |
perf_event: x86: Deduplicate the disable code
Share the meat of the x86_pmu_disable() code with hw_perf_enable().
Also remove the barrier() from that code, since I could not convince
myself we actually need it.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions