From: Jiri Olsa Date: Thu, 11 Aug 2011 14:25:45 +0000 (+0200) Subject: tracing/filter: Use static allocation for filter predicates X-Git-Tag: v3.2-rc1~163^2~28^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81570d9caaad46a056580c9af078c5c55e6c764f;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1313072754-4620-2-git-send-email-jolsa@redhat.com Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed