diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-06-24 09:53:44 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-24 11:02:51 +0200 |
commit | f129e965bef40c6153e4fe505f1e408286213424 (patch) | |
tree | bd198daa61a79a52e1a6e06ff338c815b1516405 /kernel/trace/ftrace.c | |
parent | 2961bf345fd1b736c3db46cad0f69855f67fbe9c (diff) | |
download | lwn-f129e965bef40c6153e4fe505f1e408286213424.tar.gz lwn-f129e965bef40c6153e4fe505f1e408286213424.zip |
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