nuttx/drivers/note
anjiahao 7dfbd14eba libc: add instrument api support
Add registration function instrumentation API,
which can achieve instrumentation of entering and
exiting functions through the compiler's functionality.

We can use CONFIG_ARCH_INSTRUMENT_ALL to add instrumentation for all
source, or add '-finstrument-functions' to CFLAGS for Part of the
source.

Notice:
1. use CONFIG_ARCH_INSTRUMENT_ALL must mark _start or entry noinstrument_function,
   becuase bss not set.
2. Make sure your callbacks are not instrumented recursively.

use instrument_register to register entry function and exit function.
They will be called by the instrumented function

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-12-11 02:06:51 -08:00
..
CMakeLists.txt
Kconfig note: add noteram crash dump 2023-08-19 21:48:56 +08:00
Make.defs
note_driver.c libc: add instrument api support 2023-12-11 02:06:51 -08:00
note_initialize.c
notectl_driver.c
notelog_driver.c
noteram_driver.c note: delete sched_note_flatten 2023-11-12 23:52:10 -08:00
notesnap_driver.c note: fix notesnap compilation failure 2023-10-23 12:50:19 +03:00