]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: make filtered functions effective on setting
authorSteven Rostedt <srostedt@redhat.com>
Wed, 19 Nov 2008 04:57:14 +0000 (23:57 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Nov 2008 05:18:54 +0000 (00:18 -0500)
commit268d2748248a8c0c986f24422d80fae36e217bb3
treed8300e0853c44fbc157625a1b57f55c7162d01c9
parent0a27a62331fe84130f101617b91f51ffcc04bed3
ftrace: make filtered functions effective on setting

Impact: fix filter selection to apply when 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