tracing: provide correct return value after outputting the event
authorWenji Huang <wenji.huang@oracle.com>
Tue, 10 Feb 2009 06:03:05 +0000 (01:03 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 10 Feb 2009 17:32:33 +0000 (12:32 -0500)
This patch is to make the function return early on failure, and give
correct return value on success.

Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found