nuttx-apps/examples/noteprintf
zhanghu6 2bd3a1701c sched note: printf API example
test API:
void sched_note_string(FAR const char *buf);
void sched_note_dump(uint32_t module, uint8_t event,
                     FAR const void *buf, size_t len);
void sched_note_printf(FAR const char *fmt, ...) printflike(1, 2);
void sched_note_bprintf(uint32_t module, uint8_t event,
                        FAR const char *fmt, ...) printflike(3, 4);
https://github.com/apache/incubator-nuttx/pull/4963

suggestion:
1. add "&" after the command when running this example.
2. must enable SCHED_INSTRUMENTATION_DUMP, and that enable CONFIG_SYSTEM_TRACE can help you view log.
2021-12-19 20:29:52 -06:00
..
Kconfig sched note: printf API example 2021-12-19 20:29:52 -06:00
Make.defs sched note: printf API example 2021-12-19 20:29:52 -06:00
Makefile sched note: printf API example 2021-12-19 20:29:52 -06:00
noteprintf_main.c sched note: printf API example 2021-12-19 20:29:52 -06:00