Rename CONFIG_DEBUG_HEAP to CONFIG_HEAP_COLORATION

This commit is contained in:
Gregory Nutt 2016-06-15 14:48:06 -06:00
parent 13cd88649f
commit 6d9a0511ad
9 changed files with 16 additions and 15 deletions

15
Kconfig
View File

@ -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

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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
#

View File

@ -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
#

View File

@ -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
#

View File

@ -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
#

View File

@ -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
#