summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPeter Zijlstra2010-03-08 13:51:12 +0100
committerIngo Molnar2010-03-10 13:23:38 +0100
commitb83a46e7da4a948cc852ba7805dfb1a392dec861 (patch)
treec835dc67658e7daf2b98536d7984563a7c3972a1 /tools
parentperf, x86: Fix silly bug in intel_pmu_pebs_{enable,disable} (diff)
downloadkernel-qcow2-linux-b83a46e7da4a948cc852ba7805dfb1a392dec861.tar.gz
kernel-qcow2-linux-b83a46e7da4a948cc852ba7805dfb1a392dec861.tar.xz
kernel-qcow2-linux-b83a46e7da4a948cc852ba7805dfb1a392dec861.zip
perf, x86: Don't reset the LBR as frequently
If we reset the LBR on each first counter, simple counter rotation which first deschedules all counters and then reschedules the new ones will lead to LBR reset, even though we're still in the same task context. Reduce this by not flushing on the first counter but only flushing on different task contexts. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@infradead.org> Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions