mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
sched/note: add dummy definition if CONFIG_SCHED_INSTRUMENTATION disabled
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -660,6 +660,15 @@ void sched_note_filter_irq(struct note_filter_irq_s *oldf,
|
||||
|
||||
#else /* CONFIG_SCHED_INSTRUMENTATION */
|
||||
|
||||
# define SCHED_NOTE_STRING(buf)
|
||||
# define SCHED_NOTE_DUMP(event, buf, len)
|
||||
# define SCHED_NOTE_VPRINTF(fmt, va)
|
||||
# define SCHED_NOTE_VBPRINTF(event, fmt, va)
|
||||
# define SCHED_NOTE_PRINTF(fmt, args...)
|
||||
# define SCHED_NOTE_BPRINTF(event, fmt, args...)
|
||||
# define SCHED_NOTE_BEGIN()
|
||||
# define SCHED_NOTE_END()
|
||||
|
||||
# define sched_note_start(t)
|
||||
# define sched_note_stop(t)
|
||||
# define sched_note_suspend(t)
|
||||
|
||||
Reference in New Issue
Block a user