aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2011-08-11 16:25:46 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-08-19 14:35:51 -0400
commit9d96cd1743547f07a8a6c51a3f7741cfca0a0bee (patch)
treeb013bf238a63661eccb7134b0e9631ff09464a47 /tools/perf/scripts/python
parenttracing/filter: Use static allocation for filter predicates (diff)
downloadlinux-dev-9d96cd1743547f07a8a6c51a3f7741cfca0a0bee.tar.xz
linux-dev-9d96cd1743547f07a8a6c51a3f7741cfca0a0bee.zip
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 <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1313072754-4620-3-git-send-email-jolsa@redhat.com Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions