commit | 98c4fd046f07156ca6055677e8f03d4280be16c1 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Fri Sep 10 11:47:43 2010 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Sep 14 14:46:01 2010 -0400 |
tree | bf461479713dbbaf79b0bf1a50a3ba0f30a2f17c | |
parent | 4aeb69672d011fac5c8df671f3ca89f7987c104e [diff] |
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 <rostedt@goodmis.org>