diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-01-25 09:58:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-29 03:01:45 -0500 |
commit | 2e8418736dff9c6fdadb2f87dcc2087cebf32167 (patch) | |
tree | 983d0a5dad6e879d168fbeca457b104c27e0c775 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 184f412c3341cd24fbd26604634a5800b83dbdc3 (diff) |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions