diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-12-09 07:18:05 +0100 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-12-31 16:12:22 +0100 |
commit | 0ea2dc7cd668be5475babecaf6fdeaa464e2847b (patch) | |
tree | 733fef9d2126b7323d4ec80e62e0c3ea583e01f7 /arch/csky/Kconfig | |
parent | csky: CPU-hotplug supported for SMP (diff) | |
download | linux-0ea2dc7cd668be5475babecaf6fdeaa464e2847b.tar.xz linux-0ea2dc7cd668be5475babecaf6fdeaa464e2847b.zip |
csky: stacktrace supported.
The gcc option "-mbacktrace" will push fp(r8),lr into stack and we could
unwind the stack with:
fp = *fp
lr = (unsigned int *)fp[1]
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/Kconfig')
-rw-r--r-- | arch/csky/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig index 8bdbe9219662..65804d1628a8 100644 --- a/arch/csky/Kconfig +++ b/arch/csky/Kconfig @@ -94,6 +94,9 @@ config MMU config RWSEM_GENERIC_SPINLOCK def_bool y +config STACKTRACE_SUPPORT + def_bool y + config TIME_LOW_RES def_bool y |