nuttx/include
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
..
android libc/misc: add fdsan module 2023-05-17 10:24:42 +08:00
arpa
crypto nuttx/crypto: export Diffie-Hellman algorithm 2024-09-09 23:55:33 +08:00
cxx add rint and expm1 function to cmath from libm 2024-07-12 12:05:54 +08:00
net net: Remove IFF_DOWN flag to compatible with Linux/*BSD 2024-10-15 22:40:22 +08:00
netinet Expose IPTOS_xxx to the application layer 2024-09-12 17:15:31 +08:00
netpacket can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
nuttx note: add memory tracing event support 2024-10-25 19:04:02 +08:00
ssp
sys boardctl.h: Add BOARDIOC_SOFTRESETCAUSE_THERMAL reset cause 2024-09-23 08:57:29 +08:00
.gitignore .gitignore: add ignore 2024-03-14 22:47:55 +08:00
aio.h aio: change aio_fildes int type 2023-09-08 00:59:31 +03:00
alloca.h libs/alloca: add alloca implement for MSVC 2023-08-28 11:10:08 -03:00
assert.h Restore ASSERT/VERIFY semantics 2024-09-09 15:25:04 +08:00
byteswap.h
ctype.h Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
debug.h Add thermal framework 2024-09-23 08:57:29 +08:00
dirent.h
dlfcn.h dlfcn: Add stub for dladdr 2024-07-26 14:39:10 -03:00
dsp.h nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
dspb16.h libdsp: fix gcc14 error and clean up includes 2024-06-02 09:27:36 -03:00
elf32.h Fix and improve dynamic loader 2023-07-13 10:11:58 +08:00
elf64.h Fix loading of ET_DYN type of shared objects 2023-09-20 09:35:28 -04:00
elf.h coredump:support coredump aligned access registers 2024-08-12 02:02:25 +08:00
endian.h
err.h
errno.h Fix nuttx coding style 2023-07-11 23:32:17 +08:00
execinfo.h libc/execinfo: extract a common backtrace format function 2024-06-29 22:44:39 +08:00
fcntl.h drivers/pipes: add fcntl(F_SETPIPE_SZ/F_GETPIPE_SZ) support 2024-09-10 11:35:15 +08:00
fixedmath.h fixedmath: add abs and sign operations 2023-10-07 21:25:56 +08:00
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
hex2bin.h libs/libc/hex2bin: enhance 64-bit compatibility 2023-08-11 19:43:37 +08:00
iconv.h
ifaddrs.h ifaddrs: add union ifa_ifu include ifu_broadaddr and ifu_dstaddr 2023-07-08 15:42:11 +08:00
inttypes.h libs/libc/inttypes: add support for imaxdiv 2024-04-23 10:26:48 -03:00
iso646.h
langinfo.h The character U+ff0c "," could be confused with the ASCII character U+002c ",", which is more common in source code. 2023-10-03 16:53:12 -04:00
libgen.h
libintl.h
limits.h clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
locale.h
lzf.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
malloc.h mm: record the maximum system memory usage 2023-11-09 09:08:49 +08:00
mqueue.h fs/mqueue: Fix the wrong field type in mq_attr as the spec and add the logical judgment to deal with the condition when mq_maxmsg or mq_msgsize is less than zero or equal to zero. 2023-08-03 03:10:56 -07:00
netdb.h
nl_types.h
nxflat.h
obstack.h libs/libc/obstack: implement ptr and int growing functions 2024-09-17 02:00:46 +08:00
poll.h
pthread.h pthread_cleanup: move clenup down to tls 2024-09-14 20:15:12 +08:00
pty.h
pwd.h pwd: Add initial implementation of getpwent 2023-07-31 07:50:10 -07:00
regex.h include/regex.h: add missing FAR 2023-05-19 02:40:38 +08:00
resolv.h
sched.h sched.h: add SCHED_BATCH and SCHED_IDLE definition 2024-07-14 13:20:53 -03:00
search.h hcreate: add alloc/free func hook for user to deallocate memory 2024-08-22 20:25:30 +08:00
semaphore.h semaphore: export priority ceiling interfaces in semaphore 2024-09-10 01:26:31 +08:00
signal.h signal: Make struct sigevent compatible with glibc 2024-09-17 12:15:14 +08:00
spawn.h libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory. 2023-10-31 13:42:00 +08:00
stdbool.h nuttx/atomic.h:Fix missing type declarations at compile time 2024-08-22 01:44:29 +08:00
stddef.h
stdint.h Fix nuttx coding style 2023-07-11 23:32:17 +08:00
stdio.h libc: add support for open_memstream 2023-11-29 02:13:19 -08:00
stdlib.h libc: add support for reallocarray 2024-04-17 11:36:39 -03:00
stdnoreturn.h
string.h Support gcc FORTIFY_SOURCE features for nuttx libc 2023-06-22 20:38:45 +08:00
strings.h nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
syscall.h
syslog.h syslog: add syslog option definition 2023-05-05 18:36:36 +08:00
termios.h
threads.h Fix typo in mtx_timedlock 2024-02-02 09:03:18 -08:00
time.h libc:Add macro restrictions to code that uses floating point numbers 2024-08-21 13:33:45 +08:00
unistd.h libc/sysconf: add _SC_GETPW_R_SIZE_MAX 2024-08-29 09:05:45 +08:00
utime.h
uuid.h nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
wchar.h include/wchar:Fix mbstate_t Redeclaration in MSVC 2024-08-22 01:44:29 +08:00
wctype.h