Replace all occurrences of vdbg with vinfo

This commit is contained in:
Gregory Nutt
2016-06-11 11:59:51 -06:00
parent 3a74a438d9
commit fc3540cffe
845 changed files with 5817 additions and 5817 deletions
+4 -4
View File
@@ -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
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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 */
+2 -2
View File
@@ -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 */
}
+1 -1
View File
@@ -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