diff options
author | Hitoshi Mitake <h.mitake@gmail.com> | 2009-04-02 19:58:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 22:05:02 -0400 |
commit | cc18e3cd5345715544e4d61b32a7442360817195 (patch) | |
tree | d578a9a09eb1a1e0f603505838c9d3aa94f7a235 /drivers/edac/Kconfig | |
parent | 15746fcaa3a00753bbab2326088b85b10c1ba36a (diff) |
edac: add more verbose debug info
A patch for making a debugging information more verbose for use in
development debugging.
By enabling the new option "More verbose debugging", information about
source file and line number will be added to debugging message.
This is sample output,
EDAC MC0: Giving out device to 'e7xxx_edac' 'E7205': DEV 0000:00:00.0
EDAC DEBUG: in drivers/edac/edac_pci.c, line at 48: edac_pci_alloc_ctl_info()
EDAC DEBUG: in drivers/edac/edac_pci.c, line at 334: edac_pci_add_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r-- | drivers/edac/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index eee47fd16d79..56021f64ee22 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig | |||
@@ -40,6 +40,14 @@ config EDAC_DEBUG | |||
40 | there're four debug levels (x=0,1,2,3 from low to high). | 40 | there're four debug levels (x=0,1,2,3 from low to high). |
41 | Usually you should select 'N'. | 41 | Usually you should select 'N'. |
42 | 42 | ||
43 | config EDAC_DEBUG_VERBOSE | ||
44 | bool "More verbose debugging" | ||
45 | depends on EDAC_DEBUG | ||
46 | help | ||
47 | This option makes debugging information more verbose. | ||
48 | Source file name and line number where debugging message | ||
49 | printed will be added to debugging message. | ||
50 | |||
43 | config EDAC_MM_EDAC | 51 | config EDAC_MM_EDAC |
44 | tristate "Main Memory EDAC (Error Detection And Correction) reporting" | 52 | tristate "Main Memory EDAC (Error Detection And Correction) reporting" |
45 | default y | 53 | default y |