aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2015-02-19 17:02:05 +0530
committerRafael J. Wysocki <[email protected]>2015-05-07 23:29:57 +0200
commit1b947c904c4831d787c1f17a6a6cd40c7144ba85 (patch)
tree35b6136bf6557945b3568440be37ddf70256bcaa /tools/perf/scripts/python/sched-migration.py
parent23faf0b7430f1f19cf033f4ee1588ab86a026b60 (diff)
cpufreq: Throw warning when we try to get policy for an invalid CPU
Simply returning here with an error is not enough. It shouldn't be allowed at all to try calling cpufreq_cpu_get() for an invalid CPU. Add a WARN here to make it clear that it wouldn't be acceptable at all. Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Saravana Kannan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions