mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
mm/Kconfig: fix build error when MM_BACKTRACE > 0 and disable mempool
mempool is always be compiled, so when enable BACKTRACE but not enable memdpool, the MM_HEAP_MEMPOOL_BACKTRACE_SKIP is not defined mempool_add_backtrace() will compiled failed. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
+1
-1
@@ -241,7 +241,7 @@ config MM_HEAP_MEMPOOL_CHUNK_SIZE
|
|||||||
config MM_HEAP_MEMPOOL_BACKTRACE_SKIP
|
config MM_HEAP_MEMPOOL_BACKTRACE_SKIP
|
||||||
int "The skip depth of backtrace for mempool"
|
int "The skip depth of backtrace for mempool"
|
||||||
default 6
|
default 6
|
||||||
depends on MM_HEAP_MEMPOOL_THRESHOLD != 0 && MM_BACKTRACE > 0
|
depends on MM_BACKTRACE > 0
|
||||||
---help---
|
---help---
|
||||||
This number is the skipped backtrace depth for mempool.
|
This number is the skipped backtrace depth for mempool.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user