[patch] [newlib, nano] Implement nano_malloc_stats
Joey Ye
joey.ye@arm.com
Thu Oct 24 02:35:00 GMT 2013
This patch supports malloc_stats for nano-malloc.
ChangeLog:
2013/10/24 Joey Ye <joey.ye@arm.com>
Implement malloc_stats for nano.
libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro.
(sbrk_start): New variable.
(current_mallinfo, free_list): Forward declaration of data.
(chunk): Define size as long type.
(mallinfo): Synchronize with latest malloc.h.
(nano_*): Forward declaration of functions.
(get_chunk_from_ptr): Defined to static inline.
(nano_mallinfo): Implement this function.
(nano_malloc_stats): Implement this function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: malloc_stats-0924.patch
Type: application/octet-stream
Size: 7709 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131024/e010bbe6/attachment.obj>
More information about the Newlib
mailing list