mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Replace all occurrences of vdbg with vinfo
This commit is contained in:
@@ -64,18 +64,18 @@
|
||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# ifdef CONFIG_DEBUG_GRAM
|
||||
# define grandbg(format, ...) dbg(format, ##__VA_ARGS__)
|
||||
# define granvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
|
||||
# define graninfo(format, ...) info(format, ##__VA_ARGS__)
|
||||
# else
|
||||
# define grandbg(format, ...) mdbg(format, ##__VA_ARGS__)
|
||||
# define granvdbg(format, ...) mvdbg(format, ##__VA_ARGS__)
|
||||
# define graninfo(format, ...) minfo(format, ##__VA_ARGS__)
|
||||
# endif
|
||||
#else
|
||||
# ifdef CONFIG_DEBUG_GRAM
|
||||
# define grandbg dbg
|
||||
# define granvdbg vdbg
|
||||
# define graninfo info
|
||||
# else
|
||||
# define grandbg (void)
|
||||
# define granvdbg (void)
|
||||
# define graninfo (void)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -67,18 +67,18 @@
|
||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# ifdef CONFIG_DEBUG_PGALLOC
|
||||
# define pgadbg(format, ...) dbg(format, ##__VA_ARGS__)
|
||||
# define pgavdbg(format, ...) vdbg(format, ##__VA_ARGS__)
|
||||
# define pgainfo(format, ...) info(format, ##__VA_ARGS__)
|
||||
# else
|
||||
# define pgadbg(format, ...) mdbg(format, ##__VA_ARGS__)
|
||||
# define pgavdbg(format, ...) mvdbg(format, ##__VA_ARGS__)
|
||||
# define pgainfo(format, ...) minfo(format, ##__VA_ARGS__)
|
||||
# endif
|
||||
#else
|
||||
# ifdef CONFIG_DEBUG_PGALLOC
|
||||
# define pgadbg dbg
|
||||
# define pgavdbg vdbg
|
||||
# define pgainfo info
|
||||
# else
|
||||
# define pgadbg (void)
|
||||
# define pgavdbg (void)
|
||||
# define pgainfo (void)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ void mm_free(FAR struct mm_heap_s *heap, FAR void *mem)
|
||||
FAR struct mm_freenode_s *prev;
|
||||
FAR struct mm_freenode_s *next;
|
||||
|
||||
mvdbg("Freeing %p\n", mem);
|
||||
minfo("Freeing %p\n", mem);
|
||||
|
||||
/* Protect against attempts to free a NULL reference */
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ int mm_mallinfo(FAR struct mm_heap_s *heap, FAR struct mallinfo *info)
|
||||
node < heap->mm_heapend[region];
|
||||
node = (FAR struct mm_allocnode_s *)((FAR char *)node + node->size))
|
||||
{
|
||||
mvdbg("region=%d node=%p size=%p preceding=%p (%c)\n",
|
||||
minfo("region=%d node=%p size=%p preceding=%p (%c)\n",
|
||||
region, node, node->size, (node->preceding & ~MM_ALLOC_BIT),
|
||||
(node->preceding & MM_ALLOC_BIT) ? 'A' : 'F');
|
||||
|
||||
@@ -111,7 +111,7 @@ int mm_mallinfo(FAR struct mm_heap_s *heap, FAR struct mallinfo *info)
|
||||
|
||||
mm_givesemaphore(heap);
|
||||
|
||||
mvdbg("region=%d node=%p heapend=%p\n", region, node, heap->mm_heapend[region]);
|
||||
minfo("region=%d node=%p heapend=%p\n", region, node, heap->mm_heapend[region]);
|
||||
DEBUGASSERT(node == heap->mm_heapend[region]);
|
||||
uordblks += SIZEOF_MM_ALLOCNODE; /* account for the tail node */
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size)
|
||||
}
|
||||
else
|
||||
{
|
||||
mvdbg("Allocated %p, size %d\n", ret, size);
|
||||
minfo("Allocated %p, size %d\n", ret, size);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user