trace_stat: don't call seq_printf() in seq_operation->start()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 25 Mar 2009 08:27:17 +0000 (16:27 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Mar 2009 17:32:34 +0000 (18:32 +0100)
commite6f489013b985b58d096a3091ece0ed579367232
tree598baf56ceb47c256338ae4934937d2e6e111181
parentee000b7f9fe429d2470c674ccec8d344f6789e0d
trace_stat: don't call seq_printf() in seq_operation->start()

Impact: Fix incorrect way using seq_file's API

Use SEQ_START_TOKEN instead of calling ->stat_headers()
int seq_operation->start().

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
LKML-Reference: <49C9EAE5.5070202@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stat.c