trace_stack: Simplify seqfile code
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 17 Aug 2009 08:53:37 +0000 (16:53 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 17 Aug 2009 09:25:09 +0000 (11:25 +0200)
commit2fc5f0cff4cf1c4cd336d0f61f11bca6eeee1d84
treea86845315b93dbdffc2536f8089ee3169cec9113
parent97d53202a5670a08b79c8ef2e4fff1c1ee21317c
trace_stack: Simplify seqfile code

Extract duplicate code in t_start() and t_next().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A891A91.4030602@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stack.c