aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMatthew Garrett <[email protected]>2010-07-20 13:52:00 -0400
committerDave Jones <[email protected]>2010-08-03 13:47:02 -0400
commit5d77b85458f656923b85291a4ff56ed44859ed52 (patch)
tree2c6486e767ec0007a01db589b8eec05d90d148a0 /tools/perf/util/trace-event-scripting.c
parentcad70a6ae5aaef4641a3efdfd536c30f13891afe (diff)
[CPUFREQ] pcc driver should check for pcch method before calling _OSC
The pcc specification documents an _OSC method that's incompatible with the one defined as part of the ACPI spec. This shouldn't be a problem as both are supposed to be guarded with a UUID. Unfortunately approximately nobody (including HP, who wrote this spec) properly check the UUID on entry to the _OSC call. Right now this could result in surprising behaviour if the pcc driver performs an _OSC call on a machine that doesn't implement the pcc specification. Check whether the PCCH method exists first in order to reduce this probability. Signed-off-by: Matthew Garrett <[email protected]> Cc: Naga Chumbalkar <[email protected]> Signed-off-by: Dave Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions