nuttx-mirror/include
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
..
android include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
arpa include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
crypto include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cxx include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
net include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
netinet include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
netpacket include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
nuttx note: add memory tracing event support 2024-10-07 17:34:59 +08:00
ssp include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sys include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
.gitignore .gitignore: add ignore 2024-03-14 22:47:55 +08:00
aio.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
alloca.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
assert.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
byteswap.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ctype.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
debug.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
dirent.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
dlfcn.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
dsp.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
dspb16.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
elf.h modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
elf32.h modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
elf64.h modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
endian.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
err.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
errno.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
execinfo.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fcntl.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fixedmath.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fnmatch.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ftw.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
getopt.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
glob.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
grp.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
hex2bin.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
iconv.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ifaddrs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
inttypes.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
iso646.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
langinfo.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
libgen.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
libintl.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
limits.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
locale.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
lzf.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
malloc.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mqueue.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
netdb.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
nl_types.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
nxflat.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
obstack.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
poll.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
pthread.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
pty.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
pwd.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
regex.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
resolv.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sched.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
search.h hcreate: add alloc/free func hook for user to deallocate memory 2024-08-22 20:25:30 +08:00
semaphore.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
signal.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
spawn.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdbool.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stddef.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdint.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdio.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdlib.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdnoreturn.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
string.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
strings.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
syscall.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
syslog.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
termios.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
threads.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
time.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
unistd.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
utime.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
uuid.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
wchar.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
wctype.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00