aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2014-04-30 22:14:04 +0000
committerRafael J. Wysocki <[email protected]>2014-04-30 22:14:04 +0000
commit3836785a1bdcd6706c68ad46bf53adc0b057b310 (patch)
tree874d51f7408229396b15dd1cbe76e0cc52744b87 /tools/perf/scripts/python/check-perf-trace.py
parentcpuidle: Combine cpuidle_enabled() with cpuidle_select() (diff)
downloadkernel-3836785a1bdcd6706c68ad46bf53adc0b057b310.tar.gz
kernel-3836785a1bdcd6706c68ad46bf53adc0b057b310.zip
cpuidle / menu: Return (-1) if there are no suitable states
If there is a PM QoS latency limit and all of the sufficiently shallow C-states are disabled, the cpuidle menu governor returns 0 which on some systems is CPUIDLE_DRIVER_STATE_START and shouldn't be returned if that C-state has been disabled. Fix the issue by modifying the menu governor to return (-1) in such situations. Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions