libs/libc: move the backtrace implement to sched

1. move the backtrace implement to sched
2. rename CONFIG_UNWINDER to CONFIG_SCHED_BACKTRACE

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2021-07-30 12:05:33 +08:00
committed by Xiang Xiao
parent 0a8d951837
commit 83964231a5
9 changed files with 16 additions and 57 deletions
+9
View File
@@ -1822,3 +1822,12 @@ config PTHREAD_STACK_DEFAULT
Default pthread stack size
endmenu # Stack and heap information
config SCHED_BACKTRACE
bool "Stack BackTrace"
default "n"
---help---
This option enables stack backtrace support in the NuttX
using the information automatically generated by the
compiler or architecture specific approach when ARCH_HAVE_BACKTRACE
is selected