mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 14:55:18 +00:00
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> |
||
|---|---|---|
| .. | ||
| hardware | ||
| chip.h | ||
| eoss3.h | ||
| eoss3_clockconfig.c | ||
| eoss3_clockconfig.h | ||
| eoss3_gpio.c | ||
| eoss3_gpio.h | ||
| eoss3_idle.c | ||
| eoss3_irq.c | ||
| eoss3_lowputc.c | ||
| eoss3_lowputc.h | ||
| eoss3_serial.c | ||
| eoss3_start.c | ||
| eoss3_start.h | ||
| eoss3_timerisr.c | ||
| Kconfig | ||
| Make.defs | ||