diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-06-24 01:53:44 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-24 09:02:51 (GMT) |
commit | f129e965bef40c6153e4fe505f1e408286213424 (patch) | |
tree | bd198daa61a79a52e1a6e06ff338c815b1516405 /kernel/trace/ftrace.c | |
parent | 2961bf345fd1b736c3db46cad0f69855f67fbe9c (diff) | |
download | linux-fsl-qoriq-f129e965bef40c6153e4fe505f1e408286213424.tar.xz |
tracing: Reset iterator in t_start()
The iterator is m->private, but it's not reset to trace_types in
t_start(). If the output is larger than PAGE_SIZE and t_start()
is called the 2nd time, things will go wrong.
Reviewed-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A418728.5020506@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions