You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/06/01 05:19:16 UTC
[nuttx] 05/05: sim/kasan: Enable mempool and backtrace
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b63b83396be705a36c2a50153278eeecea4597f2
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun May 28 20:55:20 2023 +0800
sim/kasan: Enable mempool and backtrace
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
boards/sim/sim/sim/configs/kasan/defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boards/sim/sim/sim/configs/kasan/defconfig b/boards/sim/sim/sim/configs/kasan/defconfig
index 847f05ea73..0bc2555014 100644
--- a/boards/sim/sim/sim/configs/kasan/defconfig
+++ b/boards/sim/sim/sim/configs/kasan/defconfig
@@ -26,6 +26,8 @@ CONFIG_FS_PROCFS=y
CONFIG_INIT_ARGS="\"-c\", \"ostest;gcov -d;poweroff\""
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LIBC_MAX_EXITFUNS=1
+CONFIG_MM_BACKTRACE=8
+CONFIG_MM_HEAP_MEMPOOL_THRESHOLD=256
CONFIG_MM_KASAN=y
CONFIG_MM_UBSAN=y
CONFIG_NSH_ARCHINIT=y