tracing/filter: Use static allocation for filter predicates
authorJiri Olsa <jolsa@redhat.com>
Thu, 11 Aug 2011 14:25:45 +0000 (16:25 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 19 Aug 2011 18:35:51 +0000 (14:35 -0400)
commit81570d9caaad46a056580c9af078c5c55e6c764f
tree7a0684a47659215b5714c4de64e5147c5be1c2a4
parent2f3aa7a06f6f48d6f78a90595b17e6beafa7abf6
tracing/filter: Use static allocation for filter predicates

Don't dynamically allocate filter_pred struct, use static memory.
This way we can get rid of the code managing the dynamic filter_pred
struct object.

The create_pred function integrates create_logical_pred function.
This way the static predicate memory is returned only from
one place.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1313072754-4620-2-git-send-email-jolsa@redhat.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c