projects
/
rtos
/
tinyara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beacd16
)
modify the omitted about heapinfo_parse in mm_malloc
author
jc_.kim
<jc_.kim@samsung.com>
Mon, 3 Apr 2017 04:09:42 +0000
(13:09 +0900)
committer
jc_.kim
<jc_.kim@samsung.com>
Mon, 3 Apr 2017 04:09:42 +0000
(13:09 +0900)
modified heapinfo_parse needs 3-params, but in mm_malloc, it is not updated
os/mm/mm_heap/mm_malloc.c
patch
|
blob
|
history
diff --git
a/os/mm/mm_heap/mm_malloc.c
b/os/mm/mm_heap/mm_malloc.c
index
64b73c4
..
c1c25e6
100644
(file)
--- a/
os/mm/mm_heap/mm_malloc.c
+++ b/
os/mm/mm_heap/mm_malloc.c
@@
-223,7
+223,7
@@
FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size)
if (!ret) {
mdbg("Allocation failed, size %d\n", size);
#ifdef CONFIG_DEBUG_MM_HEAPINFO
- heapinfo_parse(heap, HEAPINFO_
NORMAL
);
+ heapinfo_parse(heap, HEAPINFO_
DETAIL_ALL, HEAPINFO_PID_NOTNEEDED
);
#endif
} else {
mvdbg("Allocated %p, size %d\n", ret, size);