aboutsummaryrefslogtreecommitdiffstats
path: root/trace-graph.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-01-07 15:52:21 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-01-07 15:52:21 -0500
commit80020d43359030107f7f25e5b8b1f0d61d7fc6fa (patch)
treef15c75e12c22407c30dee3f8a67d1a3eebcc880e /trace-graph.h
parent30f7571850c130f3e48b6c05df0c1f092f59106b (diff)
downloadtrace-cmd-80020d43359030107f7f25e5b8b1f0d61d7fc6fa.tar.gz
kerenl-shark: Use callbacks for updating the filter between graph and list
Have the graph send callbacks to update the lists filters. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-graph.h')
-rw-r--r--trace-graph.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-graph.h b/trace-graph.h
index d323acb4..36320b3c 100644
--- a/trace-graph.h
+++ b/trace-graph.h
@@ -7,9 +7,13 @@
struct graph_info;
typedef void (graph_select_cb)(struct graph_info *ginfo, guint64 time);
+typedef void (graph_filter_cb)(struct graph_info *ginfo,
+ struct filter_task *task_filter,
+ struct filter_task *hide_tasks);
struct graph_callbacks {
graph_select_cb *select;
+ graph_filter_cb *filter;
};
struct graph_info {