tracing: Do not reset *pos in set_ftrace_filter
authorSteven Rostedt <srostedt@redhat.com>
Thu, 9 Sep 2010 12:43:22 +0000 (08:43 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 14 Sep 2010 15:42:29 +0000 (11:42 -0400)
After the filtered functions are read, the probed functions are read
from the hash in set_ftrace_filter. When the hashed probed functions
are read, the *pos passed in is reset. Instead of modifying the pos
given to the read function, just record the pos where the filtered
functions ended and subtract from that.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found