ftrace: fix "notrace" filtering priority
commita4500b84c51645bbc86be3ca84f2252b7ada060f
authorAbhishek Sagar <sagar.abhishek@gmail.com>
Sat, 14 Jun 2008 06:29:39 +0000 (14 11:59 +0530)
committerIngo Molnar <mingo@elte.hu>
Sat, 14 Jun 2008 06:32:29 +0000 (14 08:32 +0200)
tree4f11488be2c6a7f89762ce800c77d888d540fb1a
parent20764ff1efb440640353053ec83263e69e1259e0
ftrace: fix "notrace" filtering priority

This is a fix to give notrace filter rules priority over "set_ftrace_filter"
rules.

This fix ensures that functions which are set to be filtered and are
concurrently marked as "notrace" don't get recorded. As of now, if
a record is marked as FTRACE_FL_FILTER and is enabled, then the notrace
flag is not checked. Tested on x86-32.

Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c