ftrace: fix trace_output
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 15 Jan 2009 10:05:40 +0000 (18:05 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Jan 2009 11:15:20 +0000 (12:15 +0100)
commit6c1a99afbda99cd8d8c69d756387041567a13d87
tree8f8c9d5cb072bb6d9f83f82c81cf81c123579863
parent55922173f1f63903b6de03711ab8ff980cbe58d2
ftrace: fix trace_output

Impact: fix bug for handling partial line

trace_seq_printf(), seq_print_userip_objs(), ... return
0          -- partial line was written
other(>0)  -- success

duplicate output is also removed in trace_print_raw().

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_output.c
kernel/trace/trace_output.h