[PATCH 0/8] cleanups for trace

From: Yaowei Bai
Date: Tue Sep 29 2015 - 10:47:09 EST


This patchset just make some functions return bool to improve readability
and/or simplicity.

No functional change.

Yaowei Bai (8):
kernel/trace: report_latency in trace_sched_wakeup.c can be boolean
kernel/trace: report_latency in trace_irqsoff.c can be boolean
kernel/trace: rb_is_reader_page can be boolean
kernel/ring_buffer: ring_buffer_empty{cpu} can be boolean
kernel/ring_buffer: rb_per_cpu_empty can be boolean
kernel/trace: rb_event_is_commit can be boolean
kernel/trace: is_legal_op can be boolean
kernel/trace: ftrace_event_is_function can be boolean

include/linux/ring_buffer.h | 4 ++--
kernel/trace/ring_buffer.c | 20 ++++++++++----------
kernel/trace/trace.h | 2 +-
kernel/trace/trace_events_filter.c | 8 ++++----
kernel/trace/trace_export.c | 2 +-
kernel/trace/trace_irqsoff.c | 8 ++++----
kernel/trace/trace_sched_wakeup.c | 8 ++++----
7 files changed, 26 insertions(+), 26 deletions(-)

--
1.9.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/