tracing: provide correct return value after outputting the event
This patch is to make the function return early on failure, and give correct return value on success. Signed-off-by: NWenji Huang <wenji.huang@oracle.com> Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
Showing
想要评论请 注册 或 登录