diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2006-11-03 06:07:19 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-11-03 20:27:58 (GMT) |
commit | b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14 (patch) | |
tree | d73dc0e8823c8445d84701cc3d527e0e34494a32 /drivers/spi/spi.c | |
parent | 90d53909443b3986569b38ef145f09ea2359af75 (diff) | |
download | linux-b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14.tar.xz |
[PATCH] swsusp: debugging
Add a swsusp debugging mode. This does everything that's needed for a suspend
except for actually suspending. So we can look in the log messages and work
out a) what code is being slow and b) which drivers are misbehaving.
(1)
# echo testproc > /sys/power/disk
# echo disk > /sys/power/state
This should turn off the non-boot CPU, freeze all processes, wait for 5
seconds and then thaw the processes and the CPU.
(2)
# echo test > /sys/power/disk
# echo disk > /sys/power/state
This should turn off the non-boot CPU, freeze all processes, shrink
memory, suspend all devices, wait for 5 seconds, resume the devices etc.
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Stefan Seyfried <seife@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions