evl trace:fix the occasional NULL pointer references
Trace event *evl_sched_attrs* calls TP_printk("%s") to out print the thread
name get by evl_element_name().
However, evl_element_name() may return NULL sometimes, and TP_printk(%s)
may cause some problems.
This patch will avoid this.
Signed-off-by:
lio <carver4lio@163.com>
Please register or sign in to comment