commit | 2a853e1123cbbb43ff74cc47b4ec582ce34df262 | [log] [tgz] |
---|---|---|
author | Liang, Kan <[email protected]> | Fri Jul 03 20:08:27 2015 +0000 |
committer | Ingo Molnar <[email protected]> | Tue Aug 04 10:17:00 2015 +0200 |
tree | c5fbe4296eb9097e84bd97b9f2c68ce8f26ee3be | |
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]>