mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 09:49:21 +08:00
note: fix sched_note_begin/end parameter error
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
926bfe5818
commit
cb06ad5ec4
1 changed files with 2 additions and 2 deletions
|
@ -143,9 +143,9 @@
|
|||
sched_note_printf_ip(tag, SCHED_NOTE_IP, "B|%d|%s", gettid(), str)
|
||||
# define sched_note_endex(tag, str) \
|
||||
sched_note_printf_ip(tag, SCHED_NOTE_IP, "E|%d|%s", gettid(), str)
|
||||
# define sched_note_begin(tag, ip) \
|
||||
# define sched_note_begin(tag) \
|
||||
sched_note_string_ip(tag, SCHED_NOTE_IP, "B")
|
||||
# define sched_note_end(tag, ip) \
|
||||
# define sched_note_end(tag) \
|
||||
sched_note_string_ip(tag, SCHED_NOTE_IP, "E")
|
||||
#else
|
||||
# define sched_note_string(tag, buf)
|
||||
|
|
Loading…
Reference in a new issue