summaryrefslogtreecommitdiffstats
path: root/sound
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 20:35:51 +0200
commit9d96cd1743547f07a8a6c51a3f7741cfca0a0bee (patch)
treeb013bf238a63661eccb7134b0e9631ff09464a47 /sound
parenttracing/filter: Use static allocation for filter predicates (diff)
downloadlinux-9d96cd1743547f07a8a6c51a3f7741cfca0a0bee.tar.xz
linux-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 'sound')
0 files changed, 0 insertions, 0 deletions