diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-24 17:27:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-24 17:44:01 -0400 |
commit | eb71c87a492b7090ff9e8ac46912c480a1687e38 (patch) | |
tree | 1136213dee0f942866b6c2c65de7e7c63ca94fda /kernel/power/Kconfig | |
parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) |
Add some basic resume trace facilities
Considering that there isn't a lot of hw we can depend on during resume,
this is about as good as it gets.
This is x86-only for now, although the basic concept (and most of the
code) will certainly work on almost any platform.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index ce0dfb8f4a4e..cdf315e794ff 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -36,6 +36,15 @@ config PM_DEBUG | |||
36 | code. This is helpful when debugging and reporting various PM bugs, | 36 | code. This is helpful when debugging and reporting various PM bugs, |
37 | like suspend support. | 37 | like suspend support. |
38 | 38 | ||
39 | config PM_TRACE | ||
40 | bool "Suspend/resume event tracing" | ||
41 | depends on PM && PM_DEBUG && X86 | ||
42 | default y | ||
43 | ---help--- | ||
44 | This enables some cheesy code to save the last PM event point in the | ||
45 | RTC across reboots, so that you can debug a machine that just hangs | ||
46 | during suspend (or more commonly, during resume). | ||
47 | |||
39 | config SOFTWARE_SUSPEND | 48 | config SOFTWARE_SUSPEND |
40 | bool "Software Suspend" | 49 | bool "Software Suspend" |
41 | depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((FRV || PPC32) && !SMP) | 50 | depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((FRV || PPC32) && !SMP) |