Rename CONFIG_DEBUG_HEAP to CONFIG_HEAP_COLORATION
This commit is contained in:
parent
13cd88649f
commit
6d9a0511ad
15
Kconfig
15
Kconfig
@ -798,13 +798,6 @@ config DEBUG_DMA_INFO
|
||||
|
||||
endif # DEBUG_DMA
|
||||
|
||||
config DEBUG_HEAP
|
||||
bool "Heap usage debug hooks"
|
||||
default n
|
||||
depends on ARCH_HAVE_HEAPCHECK
|
||||
---help---
|
||||
Enable hooks to check heap usage. Only supported by a few architectures.
|
||||
|
||||
config DEBUG_IRQ
|
||||
bool "Interrupt Controller Debug Features"
|
||||
default n
|
||||
@ -1243,6 +1236,14 @@ config STACK_COLORATION
|
||||
|
||||
Only supported by a few architectures.
|
||||
|
||||
config HEAP_COLORATION
|
||||
bool "Heap coloration"
|
||||
default n
|
||||
depends on ARCH_HAVE_HEAPCHECK
|
||||
---help---
|
||||
Enable heap coloration to check heap usage. Only supported by a few
|
||||
architectures.
|
||||
|
||||
config DEBUG_SYMBOLS
|
||||
bool "Generate Debug Symbols"
|
||||
default n
|
||||
|
@ -439,7 +439,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DEBUG_HEAP
|
||||
#ifdef CONFIG_HEAP_COLORATION
|
||||
static inline void up_heap_color(FAR void *start, size_t size)
|
||||
{
|
||||
memset(start, HEAP_COLOR, size);
|
||||
|
@ -167,7 +167,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DEBUG_HEAP
|
||||
#ifdef CONFIG_HEAP_COLORATION
|
||||
static inline void up_heap_color(FAR void *start, size_t size)
|
||||
{
|
||||
memset(start, HEAP_COLOR, size);
|
||||
|
@ -148,7 +148,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DEBUG_HEAP
|
||||
#ifdef CONFIG_HEAP_COLORATION
|
||||
static inline void up_heap_color(FAR void *start, size_t size)
|
||||
{
|
||||
memset(start, HEAP_COLOR, size);
|
||||
|
@ -60,7 +60,7 @@ CONFIG_DEBUG_LIB=y
|
||||
# OS Function Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_DMA is not set
|
||||
# CONFIG_DEBUG_HEAP is not set
|
||||
# CONFIG_HEAP_COLORATION is not set
|
||||
# CONFIG_DEBUG_IRQ is not set
|
||||
|
||||
#
|
||||
|
@ -60,7 +60,7 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
|
||||
#
|
||||
# OS Function Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_HEAP is not set
|
||||
# CONFIG_HEAP_COLORATION is not set
|
||||
# CONFIG_DEBUG_IRQ is not set
|
||||
|
||||
#
|
||||
|
@ -59,7 +59,7 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
|
||||
#
|
||||
# OS Function Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_HEAP is not set
|
||||
# CONFIG_HEAP_COLORATION is not set
|
||||
# CONFIG_DEBUG_IRQ is not set
|
||||
|
||||
#
|
||||
|
@ -59,7 +59,7 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
|
||||
#
|
||||
# OS Function Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_HEAP is not set
|
||||
# CONFIG_HEAP_COLORATION is not set
|
||||
# CONFIG_DEBUG_IRQ is not set
|
||||
|
||||
#
|
||||
|
@ -60,7 +60,7 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
|
||||
# OS Function Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_DMA is not set
|
||||
# CONFIG_DEBUG_HEAP is not set
|
||||
# CONFIG_HEAP_COLORATION is not set
|
||||
# CONFIG_DEBUG_IRQ is not set
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user