]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Wakeup: Show wakeup sources statistics in debugfs
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 19 Oct 2010 21:42:49 +0000 (23:42 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 19 Oct 2010 21:42:49 +0000 (23:42 +0200)
commit56b6fce99e5e2b5111f02b487f9dc43c605f1284
treec7b46ef72affbd412961f82a46697b606a69ae1c
parentc2276c67777f9d2961f6ac6cb380e372199fe1e7
PM / Wakeup: Show wakeup sources statistics in debugfs

There may be wakeup sources that aren't associated with any devices
and their statistics information won't be available from sysfs. Also,
for debugging purposes it is convenient to have all of the wakeup
sources statistics available from one place.  For these reasons,
introduce new file "wakeup_sources" in debugfs containing those
statistics.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/wakeup.c