diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-09-10 11:47:43 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-09-14 14:46:01 -0400 |
commit | 98c4fd046f07156ca6055677e8f03d4280be16c1 (patch) | |
tree | bf461479713dbbaf79b0bf1a50a3ba0f30a2f17c /kernel/trace/trace_nop.c | |
parent | 4aeb69672d011fac5c8df671f3ca89f7987c104e (diff) | |
download | blackbird-op-linux-98c4fd046f07156ca6055677e8f03d4280be16c1.tar.gz blackbird-op-linux-98c4fd046f07156ca6055677e8f03d4280be16c1.zip |
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>
Diffstat (limited to 'kernel/trace/trace_nop.c')
0 files changed, 0 insertions, 0 deletions