nuttx-mirror/sched
yinshengkai 79eab8783f 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-07 17:34:59 +08:00
..
addrenv sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock clock: correct compile failed 2024-09-29 18:18:01 +08:00
environ sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group group: change pthread_kill to tkill in kernel mode 2024-10-03 09:39:33 +08:00
init sched: change nxsched_islocked_global to nxsched_islocked_tcb 2024-10-05 13:49:55 +08:00
instrument sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
irq critmonitor: add caller support 2024-09-19 03:16:14 +08:00
misc coredump:Add a coreudmp api to watch custom variables 2024-10-01 20:40:28 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue mqueue: refactor of mqueue 2024-09-29 18:18:01 +08:00
paging sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
pthread sched: replace sync pause with async pause for nxtask_terminate 2024-10-06 09:26:56 +08:00
sched sched: replace sync pause with async pause for setpriority 2024-10-05 14:00:59 +08:00
semaphore sched/semaphore: support recursive write for same process in sem_rw lock 2024-10-02 01:56:46 +08:00
signal sched: replace sync pause with async pause for nxsig_process 2024-10-07 13:32:57 +08:00
task task: merge nxtask_setup_name() before create_stack 2024-10-07 15:47:13 +08:00
timer sched/signal: Simplified Implementation for SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog wdog: rename wd_start_absolute() to wd_start_abstick() 2024-09-17 12:15:14 +08:00
wqueue sched/wqueue: Fix unexpected dq entry status 2024-09-17 02:56:39 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig note: add memory tracing event support 2024-10-07 17:34:59 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00