diff options
| author | Liang, Kan <[email protected]> | 2015-07-03 20:08:27 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-08-04 08:17:00 +0000 |
| commit | 2a853e1123cbbb43ff74cc47b4ec582ce34df262 (patch) | |
| tree | c5fbe4296eb9097e84bd97b9f2c68ce8f26ee3be /tools/perf/builtin-script.c | |
| parent | perf/x86: Add an MSR PMU driver (diff) | |
| download | kernel-2a853e1123cbbb43ff74cc47b4ec582ce34df262.tar.gz kernel-2a853e1123cbbb43ff74cc47b4ec582ce34df262.zip | |
perf/x86/intel/pebs: Fix event disable PEBS buffer drain
When disabling a PEBS event, we need to drain the buffer. Doing so
requires a correct cpuc->pebs_active mask.
The current code clears the pebs_active bit before draining the
buffer. Fix that.
Signed-off-by: "Liang, Kan" <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver<[email protected]>
Link: http://lkml.kernel.org/r/37D7C6CF3E00A74B8858931C1DB2F07701885A65@SHSMSX103.ccr.corp.intel.com
[ Fixed the SOB. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
