aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2015-05-10 01:18:03 +0200
committerRafael J. Wysocki <[email protected]>2015-05-14 21:35:10 +0200
commitfaad38492814112e3e7ce94d90123bbe301fff33 (patch)
tree36f4bf459d2dfdda68a891228af94aebbf951c95 /tools/perf/scripts/python/event_analyzing_sample.py
parent7312280bd2ad9df1bcca236c5614091a0bd1504c (diff)
sched / idle: Call idle_set_state() from cpuidle_enter_state()
Introduce a wrapper function around idle_set_state() called sched_idle_set_state() that will pass this_rq() to it as the first argument and make cpuidle_enter_state() call the new function before and after entering the target state. At the same time, remove direct invocations of idle_set_state() from call_cpuidle(). This will allow the invocation of default_idle_call() to be moved from call_cpuidle() to cpuidle_enter_state() safely and call_cpuidle() to be simplified a bit as a result. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Preeti U Murthy <[email protected]> Tested-by: Preeti U Murthy <[email protected]> Tested-by: Sudeep Holla <[email protected]> Acked-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions