Skip to content
Commit 810dc732 authored by Wenji Huang's avatar Wenji Huang Committed by Steven Rostedt
Browse files

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: default avatarWenji Huang <wenji.huang@oracle.com>
Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent f54fc98a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment