support trace_beginex and trace_endex
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
This commit is contained in:
parent
fa8ccc0e85
commit
356ddee5b8
|
@ -36,9 +36,15 @@
|
|||
#ifdef CONFIG_TRACE
|
||||
# define trace_begin(tag) sched_note_begin(tag)
|
||||
# define trace_end(tag) sched_note_end(tag)
|
||||
|
||||
# define trace_beginex(tag, name) sched_note_beginex(tag, name)
|
||||
# define trace_endex(tag, name) sched_note_endex(tag, name)
|
||||
#else
|
||||
# define trace_begin(tag)
|
||||
# define trace_end(tag)
|
||||
|
||||
# define trace_beginex(tag, name)
|
||||
# define trace_endex(tag, name)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TRACE_APP
|
||||
|
|
Loading…
Reference in New Issue