From: Li Zefan Date: Wed, 24 Jun 2009 01:53:44 +0000 (+0800) Subject: tracing: Reset iterator in t_start() X-Git-Tag: v2.6.31-rc2~78^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f129e965bef40c6153e4fe505f1e408286213424;p=pandora-kernel.git 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 Signed-off-by: Li Zefan Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: <4A418728.5020506@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed