diff options
author | 2009-06-24 09:53:44 +0800 | |
---|---|---|
committer | 2009-06-24 11:02:51 +0200 | |
commit | f129e965bef40c6153e4fe505f1e408286213424 (patch) | |
tree | bd198daa61a79a52e1a6e06ff338c815b1516405 /arch/x86/mm/fault.c | |
parent | trace_stat: Don't increment @pos in seq start() (diff) | |
download | linux-dev-f129e965bef40c6153e4fe505f1e408286213424.tar.xz linux-dev-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 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions