tracing: Add preempt disable for filter self test
authorSteven Rostedt <srostedt@redhat.com>
Mon, 22 Aug 2011 13:41:46 +0000 (09:41 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 30 Aug 2011 16:27:07 +0000 (12:27 -0400)
commit86b6ef21b80ac6565d172cdab4384404de007eea
tree5156d0d78b4cb0fbbd58ce2281c19f9bba6864f6
parent1d0e78e380cd2802aa603a50e08220dfc681141c
tracing: Add preempt disable for filter self test

The self testing for event filters does not really need preemption
disabled as there are no races at the time of testing, but the functions
it calls uses rcu_dereference_sched() which will complain if preemption
is not disabled.

Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c