[PATCH 03/26 v5] blktrace/tracing: Use trace_seq_has_overflowed() helper function

2014-11-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Checking the return code of every trace_seq_printf() operation and having to return early if it overflowed makes the code messy. Using the new trace_seq_has_overflowed() and trace_handle_return() functions allows us to clean up the code. In the future,

[PATCH 03/26 v5] blktrace/tracing: Use trace_seq_has_overflowed() helper function

2014-11-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Checking the return code of every trace_seq_printf() operation and having to return early if it overflowed makes the code messy. Using the new trace_seq_has_overflowed() and trace_handle_return() functions allows us to clean up the code. In the