tracing: Have branch tracer use trace_handle_return() helper function
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 12 Nov 2014 18:19:06 +0000 (13:19 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Nov 2014 20:25:41 +0000 (15:25 -0500)
commit7d40f67165d9a4c9add5c0f7e599637a292bbfb2
tree49fc8136f93a572fb0163386ef27b9bc068663d3
parentc0cd93aa1640a48038bacbee093695f892ea0130
tracing: Have branch tracer use trace_handle_return() helper function

The branch tracer should not be checking the trace_seq_printf() return value
as that will soon be void. There's a new trace_handle_return() helper function
that will return TRACE_TYPE_PARTIAL_LINE if the trace_seq overflowed
and TRACE_TYPE_HANDLED otherwise.

Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_branch.c