When CONFIG_ARCH_INSTRUMENT_ALL is enabled, the note driver functions get instrumented, which causes infinite recursion because sched_note_event_ip is called by __cyg_profile_func_enter/exit callbacks. Use nuttx_add_aux_library to create a separate object library with -fno-instrument-functions flag to prevent this recursion. Signed-off-by: yezhonghui <yezhonghui@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| note_driver.c | ||
| note_driver.h | ||
| note_initialize.c | ||
| notectl_driver.c | ||
| noteitm_driver.c | ||
| notelog_driver.c | ||
| noteram_driver.c | ||
| noterpmsg_driver.c | ||
| noterpmsg_server.c | ||
| notesnap_driver.c | ||
| notestream_driver.c | ||