note: fix sched_note_begin/end parameter error

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai
2023-03-21 12:13:38 -03:00
committed by Alan Carvalho de Assis
parent 926bfe5818
commit cb06ad5ec4
+2 -2
View File
@@ -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)