diff options
author | Ben Collins <bcollins@ubuntu.com> | 2007-07-19 04:47:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:42 -0400 |
commit | a0349828d6d6f95c445674c2953ee9db75c11f8f (patch) | |
tree | 1b511d59de0b437aa2724adfc403fb36ff1e2dfd /kernel/power/Kconfig | |
parent | 328616e3b76859f1abdd08a8df1ddbb7bb81f807 (diff) |
PM: Do not require dev spew to get PM_DEBUG
In order to enable things like PM_TRACE, you're required to enable
PM_DEBUG, which sends a large spew of messages on boot, and often times can
overflow dmesg buffer.
Create new PM_VERBOSE and shift that to be the option that enables
drivers/base/power's messages.
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 73328476761c..7358609e4735 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -33,13 +33,20 @@ config PM_DEBUG | |||
33 | bool "Power Management Debug Support" | 33 | bool "Power Management Debug Support" |
34 | depends on PM | 34 | depends on PM |
35 | ---help--- | 35 | ---help--- |
36 | This option enables verbose debugging support in the Power Management | 36 | This option enables various debugging support in the Power Management |
37 | code. This is helpful when debugging and reporting various PM bugs, | 37 | code. This is helpful when debugging and reporting PM bugs, like |
38 | like suspend support. | 38 | suspend support. |
39 | |||
40 | config PM_VERBOSE | ||
41 | bool "Verbose Power Management debugging" | ||
42 | depends on PM_DEBUG | ||
43 | default n | ||
44 | ---help--- | ||
45 | This option enables verbose messages from the Power Management code. | ||
39 | 46 | ||
40 | config DISABLE_CONSOLE_SUSPEND | 47 | config DISABLE_CONSOLE_SUSPEND |
41 | bool "Keep console(s) enabled during suspend/resume (DANGEROUS)" | 48 | bool "Keep console(s) enabled during suspend/resume (DANGEROUS)" |
42 | depends on PM && PM_DEBUG | 49 | depends on PM_DEBUG |
43 | default n | 50 | default n |
44 | ---help--- | 51 | ---help--- |
45 | This option turns off the console suspend mechanism that prevents | 52 | This option turns off the console suspend mechanism that prevents |
@@ -50,7 +57,7 @@ config DISABLE_CONSOLE_SUSPEND | |||
50 | 57 | ||
51 | config PM_TRACE | 58 | config PM_TRACE |
52 | bool "Suspend/resume event tracing" | 59 | bool "Suspend/resume event tracing" |
53 | depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL | 60 | depends on PM_DEBUG && X86_32 && EXPERIMENTAL |
54 | default n | 61 | default n |
55 | ---help--- | 62 | ---help--- |
56 | This enables some cheesy code to save the last PM event point in the | 63 | This enables some cheesy code to save the last PM event point in the |