diff options
author | Liang, Kan <kan.liang@intel.com> | 2015-07-03 20:08:27 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-04 10:17:00 +0200 |
commit | 2a853e1123cbbb43ff74cc47b4ec582ce34df262 (patch) | |
tree | c5fbe4296eb9097e84bd97b9f2c68ce8f26ee3be /tools/perf/scripts/python/bin/export-to-postgresql-report | |
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" <kan.liang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver<vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/37D7C6CF3E00A74B8858931C1DB2F07701885A65@SHSMSX103.ccr.corp.intel.com
[ Fixed the SOB. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions