git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a78d93
)
perf/x86/intel: Avoid rewriting DEBUGCTL with the same value for LBRs
author
Andi Kleen
<ak@linux.intel.com>
Fri, 20 Mar 2015 17:11:24 +0000
(10:11 -0700)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 2 Apr 2015 15:33:20 +0000
(17:33 +0200)
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>
arch/x86/kernel/cpu/perf_event_intel_lbr.c
patch
|
blob
|
history
diff --cc
arch/x86/kernel/cpu/perf_event_intel_lbr.c
Simple merge