diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-22 17:03:19 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 23:16:03 +0530 |
commit | 854a0d95056c265d96cb449bc97bc5ef9bbed835 (patch) | |
tree | 798c834ae188bd570b861a47765fce8ed633f85a /arch/arc/Kconfig | |
parent | 41195d236e84458bebd4fdc218610a92231ac791 (diff) | |
download | op-kernel-dev-854a0d95056c265d96cb449bc97bc5ef9bbed835.zip op-kernel-dev-854a0d95056c265d96cb449bc97bc5ef9bbed835.tar.gz |
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 52f5c07..0979d8e 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -25,6 +25,7 @@ config ARC select HAVE_ARCH_TRACEHOOK select HAVE_GENERIC_HARDIRQS select HAVE_MEMBLOCK + select HAVE_MOD_ARCH_SPECIFIC if ARC_DW2_UNWIND select HAVE_OPROFILE select IRQ_DOMAIN select MODULES_USE_ELF_RELA @@ -344,6 +345,20 @@ menuconfig ARC_DBG bool "ARC debugging" default y +config ARC_DW2_UNWIND + bool "Enable DWARF specific kernel stack unwind" + depends on ARC_DBG + default y + select KALLSYMS + help + Compiles the kernel with DWARF unwind information and can be used + to get stack backtraces. + + If you say Y here the resulting kernel image will be slightly larger + but not slower, and it will give very useful debugging information. + If you don't debug the kernel, you can say N, but we may not be able + to solve problems without frame unwind information + config ARC_DBG_TLB_PARANOIA bool "Paranoia Checks in Low Level TLB Handlers" depends on ARC_DBG && !SMP |