Skip to content
Commit 1f3b0faa authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

tracing: Add rcu dereference annotation for filter->prog



ftrace_function_set_filter() referenences filter->prog without annotation
and sparse complains about it. It needs a rcu_dereference_protected()
wrapper.

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Fixes: 80765597 ("tracing: Rewrite filter logic to be simpler and faster")
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 5125eee4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment