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-08-19 01:30:50 -07:00
committed by Xiang Xiao
parent 0a8d951837
commit 83964231a5
9 changed files with 16 additions and 57 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ extern "C"
#define EXTERN extern
#endif
#if defined(CONFIG_UNWINDER)
#if defined(CONFIG_SCHED_BACKTRACE)
/* Store up to SIZE return address of the current program state in
* ARRAY and return the exact number of values stored.