diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-08-01 22:08:57 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-08-01 22:08:57 +0200 |
commit | ec57350883cd7fccd867b0d2260bac3a9bf6442d (patch) | |
tree | 55b701dbbcbbf08033080bf7d1e0617611c65122 /kernel/trace/ring_buffer.c | |
parent | tracing: Do a WARN_ON() if start_thread() in hwlat is called when thread exists (diff) | |
download | linux-ec57350883cd7fccd867b0d2260bac3a9bf6442d.tar.xz linux-ec57350883cd7fccd867b0d2260bac3a9bf6442d.zip |
tracing: Make tracer_tracing_is_on() return bool
There's code that expects tracer_tracing_is_on() to be either true or false,
not some random number. Currently, it should only return one or zero, but
just in case, change its return value to bool, to enforce it.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions