From: Steven Rostedt Date: Fri, 10 Sep 2010 15:47:43 +0000 (-0400) Subject: tracing: Keep track of set_ftrace_filter position and allow lseek again X-Git-Tag: v2.6.37-rc1~214^2~55^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98c4fd046f07156ca6055677e8f03d4280be16c1;p=pandora-kernel.git tracing: Keep track of set_ftrace_filter position and allow lseek again This patch keeps track of the index within the elements of set_ftrace_filter and if the position goes backwards, it nicely resets and starts from the beginning again. This allows for lseek and pread to work properly now. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed