aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorThomas Renninger <[email protected]>2011-07-21 11:54:54 +0200
committerDominik Brodowski <[email protected]>2011-07-29 19:37:27 +0200
commit029e9f73667f9b4661ac9886f706d75d26850260 (patch)
tree4dd812e1de53d07695ce9b889482b032471a6889 /tools/perf/util/scripting-engines/trace-event-python.c
parent8fb2e440b223b966f74a04a48f6f71f288fa671b (diff)
cpupower: Do detect IDA (opportunistic processor performance) via cpuid
IA32-Intel Devel guide Volume 3A - 14.3.2.1 ------------------------------------------- ... Opportunistic processor performance operation can be disabled by setting bit 38 of IA32_MISC_ENABLES. This mechanism is intended for BIOS only. If IA32_MISC_ENABLES[38] is set, CPUID.06H:EAX[1] will return 0. Better detect things via cpuid, this cleans up the code a bit and the MSR parts were not working correctly anyway. Signed-off-by: Thomas Renninger <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions