From: Li Zefan Date: Mon, 17 Aug 2009 08:52:53 +0000 (+0800) Subject: trace_stat: Fix missing entry in stat file X-Git-Tag: v2.6.32-rc1~718^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d53202a5670a08b79c8ef2e4fff1c1ee21317c;p=pandora-kernel.git trace_stat: Fix missing entry in stat file One entry is missing in the output of a stat file. The cause is, when stat_seq_start() is called the 2nd time, we should start from the (pos-1)th elem in the rbtree but not pos, because pos == 0 is the header. Signed-off-by: Li Zefan Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: <4A891A65.70009@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed