ftrace: fix dyn ftrace filter
authorSteven Rostedt <srostedt@redhat.com>
Sat, 15 Nov 2008 21:31:41 +0000 (16:31 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 16 Nov 2008 06:37:17 +0000 (07:37 +0100)
commit982c350b9ec4b3564d67f3627a274ae61bbc7e95
treec7ccd83698552997bcfe58ab7f61b8761d37957e
parent20e5227e9f55ae1969934821ccbf581563785bbe
ftrace: fix dyn ftrace filter

Impact: correct implementation of dyn ftrace filter

The old decisions made by the filter algorithm was complex and incorrect.
This lead to inconsistent enabling or disabling of functions when
the filter was used.

This patch simplifies that code and in doing so, corrects the usage
of the filters.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c