diff options
author | Peter Zijlstra <[email protected]> | 2015-05-21 10:57:17 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-05-27 09:16:03 +0200 |
commit | cc1790cf541553263bda024295d7600c7cd7c45d (patch) | |
tree | 9ddcfe2e7d2805060986c30aef6d0db8361603d9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b371b594317869971af326adcf7cd65cabdb4087 (diff) |
perf/x86: Improve HT workaround GP counter constraint
The (SNB/IVB/HSW) HT bug only affects events that can be programmed
onto GP counters, therefore we should only limit the number of GP
counters that can be used per cpu -- iow we should not constrain the
FP counters.
Furthermore, we should only enfore such a limit when there are in fact
exclusive events being scheduled on either sibling.
Reported-by: Vince Weaver <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
[ Fixed build fail for the !CONFIG_CPU_SUP_INTEL case. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions