nuttx/drivers/note
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 cmake: fix CMake build break 2023-07-15 23:32:36 +08:00
Kconfig note: add noteram crash dump 2023-08-19 21:48:56 +08:00
Make.defs drivers: add note driver backend for recording scheduling information 2023-02-25 18:39:27 +08:00
note_driver.c note: add memory tracing event support 2024-10-25 19:04:02 +08:00
note_initialize.c drivers: add API for drivers early initialization 2024-07-09 16:05:59 +08:00
notectl_driver.c fs: Add g_ prefix for all global file_operations instances 2023-04-24 16:13:29 +02:00
notelog_driver.c task: use get_task_name where possible 2024-10-25 19:04:02 +08:00
noteram_driver.c note: add memory tracing event support 2024-10-25 19:04:02 +08:00
notesnap_driver.c nuttx/atomic.h:replace ALL stdatomic.h with nuttx/stdatomic.h in nuttx/ 2024-08-22 01:44:29 +08:00