android_kernel_xiaomi_sm8350/Documentation/power
Rafael J. Wysocki b918f6e62c [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>
2006-11-03 12:27:58 -08:00
..
devices.txt
interface.txt [PATCH] swsusp: debugging 2006-11-03 12:27:58 -08:00
kernel_threads.txt
pci.txt
states.txt
swsusp-dmcrypt.txt
swsusp.txt Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
tricks.txt Fix typos in Documentation/: 'S' 2006-10-03 22:55:17 +02:00
userland-swsusp.txt Fix typos in Documentation/: 'N'-'P' 2006-10-03 22:52:05 +02:00
video_extension.txt
video.txt Fix typos in Documentation/: 'N'-'P' 2006-10-03 22:52:05 +02:00