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)
commit9c034392533f3e9f00656d5c58478cff2560ef81
treec7b46ef72affbd412961f82a46697b606a69ae1c
parente1f60b292ffd61151403327aa19ff7a1871820bd
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