ftrace: Fix the output of profile
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 26 Jun 2009 03:15:37 +0000 (11:15 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Jun 2009 07:25:42 +0000 (09:25 +0200)
commit0296e4254f3318e0dcad9706fa1daf8e5addc1e9
tree7568f2372564b45fa79bbcdd36273999cae0de8c
parent1155de47cd66d0c496d5a6fb2223e980ef1285b2
ftrace: Fix the output of profile

The first entry of the ftrace profile was always skipped when
reading trace_stat/functionX.

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