tracing/filter: Call synchronize_sched() just once for system filters
authorSteven Rostedt <srostedt@redhat.com>
Fri, 28 Jan 2011 03:46:46 +0000 (22:46 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 8 Feb 2011 01:56:18 +0000 (20:56 -0500)
commit0fc3ca9a10a61a77f18710fb708b41fd99c79a56
tree339fb23a53a54ed9c0f9b9c10344d10cfddd35ea
parentc9c53ca03d6f97fdd9832d5ed3f15b30ee5cdb86
tracing/filter: Call synchronize_sched() just once for system filters

By separating out the reseting of the filter->n_preds to zero from
the reallocation of preds for the filter, we can reset groups of
filters first, call synchronize_sched() just once, and then reallocate
each of the filters in the system group.

Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c