diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-11-12 14:57:38 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-19 15:25:42 -0500 |
commit | 9d9add34ec7b2cdd438b0b26481f8d1861bde45c (patch) | |
tree | aab39b52cabc986bac5486d873989fa087d11f00 /kernel/trace/trace_kprobe.c | |
parent | 7d40f67165d9a4c9add5c0f7e599637a292bbfb2 (diff) |
tracing: Have function_graph use trace_seq_has_overflowed()
Instead of doing individual checks all over the place that makes the code
very messy. Just check trace_seq_has_overflowed() at the end or in
strategic places.
This makes the code much cleaner and also helps with getting closer
to removing the return values of trace_seq_printf() and friends.
Link: http://lkml.kernel.org/r/20141114011410.987913836@goodmis.org
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
0 files changed, 0 insertions, 0 deletions