]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - kernel/trace/trace_events_filter.c
tracing/filter: Unify predicate tree walking, change check_pred_tree function to...
authorJiri Olsa <jolsa@redhat.com>
Thu, 11 Aug 2011 14:25:49 +0000 (16:25 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 19 Aug 2011 18:35:54 +0000 (14:35 -0400)
commitf03f5979945c573801c25ba3089ef17c4d7edc61
treed26c45bd4c7fd26e2a635bf08612a1e09d8038c5
parent3f78f935e7fec3067b7990f9e4d324e1de70f79c
tracing/filter: Unify predicate tree walking, change check_pred_tree function to use it

Adding walk_pred_tree function to be used for walking throught
the filter predicates.

For each predicate the callback function is called, allowing
users to add their own functionality or customize their way
through the filter predicates.

Changing check_pred_tree function to use walk_pred_tree.

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