aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCyrill Gorcunov <[email protected]>2010-06-03 01:23:04 +0400
committerIngo Molnar <[email protected]>2010-06-09 11:12:35 +0200
commit68aa00ac0a82e9a876c799bf6be7622b8f1c8517 (patch)
treeaf59ed93f50dd539389956e5fe97f3ac0cd85cbe /tools/perf/scripts/python
parent8d2cacbbb8deadfae78aa16e4e1ee619bdd7019e (diff)
perf, x86: Make a second write to performance counter if needed
On Netburst PMU we need a second write to a performance counter due to cpu erratum. A simple flag test instead of alternative instructions was choosen because wrmsrl is already a macro and if virtualization is turned on will need an additional wrapper call which is more expencise. nb: we should propably switch to jump-labels as only this facility reach the mainline. Signed-off-by: Cyrill Gorcunov <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Robert Richter <[email protected]> Cc: Lin Ming <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <20100602212304.GC5264@lenovo> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions