diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-08-01 21:08:30 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-08-01 21:08:30 -0400 |
commit | 3ebea280d7e9b610fa3d31c9cfd556b1705eeedf (patch) | |
tree | 03ea6a2ee84fe552b558c59ef78d3672de673f61 /include/linux/ring_buffer.h | |
parent | ec57350883cd7fccd867b0d2260bac3a9bf6442d (diff) | |
download | linux-3ebea280d7e9b610fa3d31c9cfd556b1705eeedf.tar.gz linux-3ebea280d7e9b610fa3d31c9cfd556b1705eeedf.tar.bz2 linux-3ebea280d7e9b610fa3d31c9cfd556b1705eeedf.zip |
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>
Diffstat (limited to 'include/linux/ring_buffer.h')
-rw-r--r-- | include/linux/ring_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h index 003d09ab308d..5176124fc4ba 100644 --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h @@ -164,7 +164,7 @@ void ring_buffer_record_disable(struct ring_buffer *buffer); void ring_buffer_record_enable(struct ring_buffer *buffer); void ring_buffer_record_off(struct ring_buffer *buffer); void ring_buffer_record_on(struct ring_buffer *buffer); -int ring_buffer_record_is_on(struct ring_buffer *buffer); +bool ring_buffer_record_is_on(struct ring_buffer *buffer); int ring_buffer_record_is_set_on(struct ring_buffer *buffer); void ring_buffer_record_disable_cpu(struct ring_buffer *buffer, int cpu); void ring_buffer_record_enable_cpu(struct ring_buffer *buffer, int cpu); |