diff options
| author | 2015-03-20 10:11:24 -0700 | |
|---|---|---|
| committer | 2015-04-02 17:33:20 +0200 | |
| commit | cd1f11de69226cc7ce7e7f22bdab9010103ddaa6 (patch) | |
| tree | 6543b48a8b40ab87617790a9a40a5cc52ea1828b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | perf/x86/intel: Streamline LBR MSR handling in PMI (diff) | |
| download | linux-dev-cd1f11de69226cc7ce7e7f22bdab9010103ddaa6.tar.xz linux-dev-cd1f11de69226cc7ce7e7f22bdab9010103ddaa6.zip | |
perf/x86/intel: Avoid rewriting DEBUGCTL with the same value for LBRs
perf with LBRs on has a tendency to rewrite the DEBUGCTL MSR with
the same value. Add a little optimization to skip the unnecessary
write.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: eranian@google.com
Link: http://lkml.kernel.org/r/1426871484-21285-2-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
