diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-11-12 20:57:38 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-19 21:25:42 +0100 |
commit | 9d9add34ec7b2cdd438b0b26481f8d1861bde45c (patch) | |
tree | aab39b52cabc986bac5486d873989fa087d11f00 /mm/vmacache.c | |
parent | tracing: Have branch tracer use trace_handle_return() helper function (diff) | |
download | linux-9d9add34ec7b2cdd438b0b26481f8d1861bde45c.tar.xz linux-9d9add34ec7b2cdd438b0b26481f8d1861bde45c.zip |
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 'mm/vmacache.c')
0 files changed, 0 insertions, 0 deletions