aboutsummaryrefslogtreecommitdiffstats
path: root/rt-plot-task.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt-plot-task.c')
-rw-r--r--rt-plot-task.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/rt-plot-task.c b/rt-plot-task.c
index 7132fb2..a5b475f 100644
--- a/rt-plot-task.c
+++ b/rt-plot-task.c
@@ -832,3 +832,12 @@ void rt_plot_task(struct graph_info *ginfo, int pid, int pos)
832 free(plot_label); 832 free(plot_label);
833 trace_graph_plot_add_all_recs(ginfo, plot); 833 trace_graph_plot_add_all_recs(ginfo, plot);
834} 834}
835
836void rt_plot_add_all_tasks(struct graph_info *ginfo)
837{
838 gint *tasks;
839 int i;
840 tasks = task_list_pids(ginfo->rtg_info.tasks);
841 for (i = 0; tasks[i] != -1; i++)
842 rt_plot_task(ginfo, tasks[i], ginfo->plots);
843}