diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-22 06:33:19 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:46:03 -0500 |
commit | 854a0d95056c265d96cb449bc97bc5ef9bbed835 (patch) | |
tree | 798c834ae188bd570b861a47765fce8ed633f85a /arch/arc/Kconfig | |
parent | 41195d236e84458bebd4fdc218610a92231ac791 (diff) |
ARC: DWARF2 .debug_frame based stack unwinder
-Originally written by Rajeshwar Ranga
-Derived off of generic unwinder in 2.6.19 and adapted to ARC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Rajeshwar Ranga <rajeshwar.ranga@gmail.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 52f5c072f6da..0979d8e6fc16 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -25,6 +25,7 @@ config ARC | |||
25 | select HAVE_ARCH_TRACEHOOK | 25 | select HAVE_ARCH_TRACEHOOK |
26 | select HAVE_GENERIC_HARDIRQS | 26 | select HAVE_GENERIC_HARDIRQS |
27 | select HAVE_MEMBLOCK | 27 | select HAVE_MEMBLOCK |
28 | select HAVE_MOD_ARCH_SPECIFIC if ARC_DW2_UNWIND | ||
28 | select HAVE_OPROFILE | 29 | select HAVE_OPROFILE |
29 | select IRQ_DOMAIN | 30 | select IRQ_DOMAIN |
30 | select MODULES_USE_ELF_RELA | 31 | select MODULES_USE_ELF_RELA |
@@ -344,6 +345,20 @@ menuconfig ARC_DBG | |||
344 | bool "ARC debugging" | 345 | bool "ARC debugging" |
345 | default y | 346 | default y |
346 | 347 | ||
348 | config ARC_DW2_UNWIND | ||
349 | bool "Enable DWARF specific kernel stack unwind" | ||
350 | depends on ARC_DBG | ||
351 | default y | ||
352 | select KALLSYMS | ||
353 | help | ||
354 | Compiles the kernel with DWARF unwind information and can be used | ||
355 | to get stack backtraces. | ||
356 | |||
357 | If you say Y here the resulting kernel image will be slightly larger | ||
358 | but not slower, and it will give very useful debugging information. | ||
359 | If you don't debug the kernel, you can say N, but we may not be able | ||
360 | to solve problems without frame unwind information | ||
361 | |||
347 | config ARC_DBG_TLB_PARANOIA | 362 | config ARC_DBG_TLB_PARANOIA |
348 | bool "Paranoia Checks in Low Level TLB Handlers" | 363 | bool "Paranoia Checks in Low Level TLB Handlers" |
349 | depends on ARC_DBG && !SMP | 364 | depends on ARC_DBG && !SMP |