From: Jiri Olsa Date: Thu, 11 Aug 2011 14:25:46 +0000 (+0200) Subject: tracing/filter: Separate predicate init and filter addition X-Git-Tag: v3.2-rc1~163^2~28^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d96cd1743547f07a8a6c51a3f7741cfca0a0bee;p=pandora-kernel.git tracing/filter: Separate predicate init and filter addition Making the code cleaner by having one function to fully prepare the predicate (create_pred), and another to add the predicate to the filter (filter_add_pred). As a benefit, this way the dry_run flag stays only inside the replace_preds function and is not passed deeper. Signed-off-by: Jiri Olsa Link: http://lkml.kernel.org/r/1313072754-4620-3-git-send-email-jolsa@redhat.com Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed