aboutsummaryrefslogtreecommitdiff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-06-24 09:53:44 +0800
committerIngo Molnar <mingo@elte.hu>2009-06-24 11:02:51 +0200
commitf129e965bef40c6153e4fe505f1e408286213424 (patch)
treebd198daa61a79a52e1a6e06ff338c815b1516405 /kernel/timer.c
parent2961bf345fd1b736c3db46cad0f69855f67fbe9c (diff)
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/timer.c')
0 files changed, 0 insertions, 0 deletions