nuttx/mm/mm_heap
yinshengkai 2c0e2ac36b note: add memory tracing event support
Record all memory allocation and release, save to ram, used to analyze memory allocation rate and memory usage
Its absolute value is not trustworthy because the memory will be allocated in thread A and released in thread B

 netinit-5   [0]   0.105984392: tracing_mark_write: C|5|Heap Usage|96|free: heap: 0x606000000020 size:24, address: 0x603000000370
 netinit-5   [0]   0.105996874: tracing_mark_write: C|5|Heap Usage|24|free: heap: 0x606000000020 size:72, address: 0x6070000008e0
nsh_main-4   [0]   3.825169408: tracing_mark_write: C|4|Heap Usage|2177665|free: heap: 0x606000000020 size:424, address: 0x614000000840
nsh_main-4   [0]   3.825228525: tracing_mark_write: C|4|Heap Usage|14977|free: heap: 0x606000000020 size:2162688, address: 0x7f80a639f800
nsh_main-4   [0]   3.825298789: tracing_mark_write: C|4|Heap Usage|15189|malloc: heap: 0x606000000020 size:20, address: 0x6030000003a0

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2024-10-25 19:04:02 +08:00
..
CMakeLists.txt mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
Make.defs mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_addfreechunk.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_brkaddr.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_calloc.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_checkcorruption.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_extend.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_foreach.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_free.c note: add memory tracing event support 2024-10-25 19:04:02 +08:00
mm_heapmember.c kasan: Implementation of Kasan based on software tags. 2024-09-19 03:15:29 +08:00
mm_initialize.c mm: add kasan_unregister implementaion 2024-09-19 03:15:29 +08:00
mm_lock.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_mallinfo.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_malloc_size.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_malloc.c note: add memory tracing event support 2024-10-25 19:04:02 +08:00
mm_memalign.c note: add memory tracing event support 2024-10-25 19:04:02 +08:00
mm_memdump.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_realloc.c note: add memory tracing event support 2024-10-25 19:04:02 +08:00
mm_shrinkchunk.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_size2ndx.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm_zalloc.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
mm.h mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00