Re: [PATCH 07/26 v5] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks

2014-11-18 Thread Petr Mladek
On Fri 2014-11-14 23:58:54, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Instead of checking the return value of trace_seq_printf() and friends > for overflowing of the buffer, use the trace_seq_has_overflowed() helper > function. > > This cleans up the code quite a bit and also

Re: [PATCH 07/26 v5] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks

2014-11-18 Thread Petr Mladek
On Fri 2014-11-14 23:58:54, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Instead of checking the return value of trace_seq_printf() and friends for overflowing of the buffer, use the trace_seq_has_overflowed() helper function. This cleans up the code quite a

[PATCH 07/26 v5] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks

2014-11-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Instead of checking the return value of trace_seq_printf() and friends for overflowing of the buffer, use the trace_seq_has_overflowed() helper function. This cleans up the code quite a bit and also takes us a step closer to changing the return values of

[PATCH 07/26 v5] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks

2014-11-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Instead of checking the return value of trace_seq_printf() and friends for overflowing of the buffer, use the trace_seq_has_overflowed() helper function. This cleans up the code quite a bit and also takes us a step closer to changing the return