nuttx/sched
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
..
addrenv
clock Make each function of SCHED_CRITMONITOR independent 2024-09-19 03:16:14 +08:00
environ
event
group
init sched: change nxsched_islocked_global to nxsched_islocked_tcb 2024-10-10 17:57:30 +08:00
instrument
irq arch: remove up_cpu_pause up_cpu_resume up_cpu_paused up_cpu_pausereq 2024-10-11 01:30:51 +08:00
misc task: use get_task_name where possible 2024-10-25 19:04:02 +08:00
module modlib/dlfcn:unify same code 2024-10-08 23:51:33 +08:00
mqueue sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
paging sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
pthread sched: replace sync pause with async pause for nxtask_terminate 2024-10-17 12:51:14 +02:00
sched task: use get_task_name where possible 2024-10-25 19:04:02 +08:00
semaphore sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
signal sched: replace sync pause with async pause for nxsig_process 2024-10-11 01:30:51 +08:00
task task: use get_task_name where possible 2024-10-25 19:04:02 +08:00
timer sched/signal: Simplified Implementation for SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00
tls
wdog
wqueue
CMakeLists.txt
Kconfig note: add memory tracing event support 2024-10-25 19:04:02 +08:00
Makefile