aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/python/twatch.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2015-07-16 11:26:15 +0000
committerHans-Christian Egtvedt <[email protected]>2015-07-20 10:19:10 +0000
commit09adcdf212d777ace8bb31bed8ca5c1dbd56bd0f (patch)
treedf13925775aeb0b7f172086446a494fda7eadd26 /tools/perf/python/twatch.py
parentLinux 4.2-rc3 (diff)
downloadkernel-09adcdf212d777ace8bb31bed8ca5c1dbd56bd0f.tar.gz
kernel-09adcdf212d777ace8bb31bed8ca5c1dbd56bd0f.zip
AVR32/time: Migrate to new 'set-state' interface
Migrate avr32 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We want to call cpu_idle_poll_ctrl() in shutdown only if we were in oneshot or resume state earlier. Create another variable to save this information and check that in shutdown callback. Cc: Haavard Skinnemoen <[email protected]> Cc: Hans-Christian Egtvedt <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Hans-Christian Egtvedt <[email protected]>
Diffstat (limited to 'tools/perf/python/twatch.py')
0 files changed, 0 insertions, 0 deletions