ftrace: make filtered functions effective on setting
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:46 +0000 (07:37 +0100)
commitee02a2e5c88ca2e4d6921f08d037b46d5bf82641
tree5ad2064cfb6de999b07a937c19438f3c6f888229
parent982c350b9ec4b3564d67f3627a274ae61bbc7e95
ftrace: make filtered functions effective on setting

Impact: set filtered functions at time the filter is set

It can be confusing when the set_filter_functions is set (or cleared)
and the functions being recorded by the dynamic tracer does not
match.

This patch causes the code to be updated if the function tracer is
enabled and the filter is changed.

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