diff options
| author | Rafael J. Wysocki <[email protected]> | 2006-11-02 22:07:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-11-03 12:27:58 -0800 |
| commit | b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14 (patch) | |
| tree | d73dc0e8823c8445d84701cc3d527e0e34494a32 /include/linux/debugobjects.h | |
| parent | 90d53909443b3986569b38ef145f09ea2359af75 (diff) | |
[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 <[email protected]>
Cc: Stefan Seyfried <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions