aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-05 15:20:26 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-06 08:56:54 -0400
commit8ec8405f081e1e0f800b20f683451c37e81e26c1 (patch)
tree0ffd18852842140a94c7d4b745f4beee7a75d628 /init
parenttracing: Add rcu dereference annotation for filter->prog (diff)
downloadlinux-dev-8ec8405f081e1e0f800b20f683451c37e81e26c1.tar.xz
linux-dev-8ec8405f081e1e0f800b20f683451c37e81e26c1.zip
tracing: Add rcu dereference annotation for test func that touches filter->prog
A boot up test function update_pred_fn() dereferences filter->prog without the proper rcu annotation. To do this, we must also take the event_mutex first. Normally, this isn't needed because this test function can not race with other use cases that touch the event filters (it is disabled if any events are enabled). Reported-by: kbuild test robot <fengguang.wu@intel.com> Fixes: 80765597bc587 ("tracing: Rewrite filter logic to be simpler and faster") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions