aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-06-09 21:43:00 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-06-09 21:43:00 -0400
commit77441ff111de0fb54e4d00df57532333915be2e9 (patch)
treead4093a250e06be7b493beb7ccbb72ab98f737e4
parent4e0828797e2226539e5389ec864ee259a718bd01 (diff)
trace-graph: Call filter callback on update task filters
When the task filters are updated, call the registered callback. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--trace-graph.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-graph.c b/trace-graph.c
index 5638ce6..319b159 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -563,6 +563,10 @@ void trace_graph_update_filters(struct graph_info *ginfo,
563 ginfo->hide_tasks = filter_task_hash_copy(hide_tasks); 563 ginfo->hide_tasks = filter_task_hash_copy(hide_tasks);
564 } 564 }
565 565
566 if (ginfo->callbacks && ginfo->callbacks->filter)
567 ginfo->callbacks->filter(ginfo, ginfo->task_filter,
568 ginfo->hide_tasks);
569
566 if (ginfo->filter_enabled) 570 if (ginfo->filter_enabled)
567 redraw_graph(ginfo); 571 redraw_graph(ginfo);
568} 572}