diff options
author | Liang, Kan <[email protected]> | 2015-07-03 20:08:27 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-04 10:17:00 +0200 |
commit | 2a853e1123cbbb43ff74cc47b4ec582ce34df262 (patch) | |
tree | c5fbe4296eb9097e84bd97b9f2c68ce8f26ee3be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b7b7c7821d932ba18ef6c8eafc8536066b4c2ef4 (diff) |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions