ring-buffer: Make ring_buffer_record_is_on() return bool
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 2 Aug 2018 01:08:30 +0000 (21:08 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 2 Aug 2018 01:08:30 +0000 (21:08 -0400)
commit3ebea280d7e9b610fa3d31c9cfd556b1705eeedf
tree03ea6a2ee84fe552b558c59ef78d3672de673f61
parentec57350883cd7fccd867b0d2260bac3a9bf6442d
ring-buffer: Make ring_buffer_record_is_on() return bool

The value of ring_buffer_record_is_on() is either true or false, so have its
return value be bool.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ring_buffer.h
kernel/trace/ring_buffer.c