tracing: ftrace_event_is_function() can return boolean
authorYaowei Bai <bywxiaobai@163.com>
Tue, 29 Sep 2015 14:43:36 +0000 (22:43 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 2 Nov 2015 19:28:05 +0000 (14:28 -0500)
commitc6650b2e57725abaa2e36e620d06fa576d26c21c
tree393b8d0264f1943809d113d034abaed29f4d80a9
parent907bff917a659a8e50e285dc42ef51d7eaba6e62
tracing: ftrace_event_is_function() can return boolean

Make ftrace_event_is_function() return bool to improve readability
due to this particular function only using either one or zero as its
return value.

No functional change.

Link: http://lkml.kernel.org/r/1443537816-5788-9-git-send-email-bywxiaobai@163.com
Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_export.c