diff options
Diffstat (limited to 'trace-plot-task.c')
-rw-r--r-- | trace-plot-task.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-plot-task.c b/trace-plot-task.c index d4b608b..803d89b 100644 --- a/trace-plot-task.c +++ b/trace-plot-task.c | |||
@@ -836,6 +836,7 @@ void graph_plot_init_tasks(struct graph_info *ginfo) | |||
836 | 836 | ||
837 | snprintf(label, 100, "TASK %d", pid); | 837 | snprintf(label, 100, "TASK %d", pid); |
838 | trace_graph_plot_insert(ginfo, 1, label, PLOT_TYPE_TASK, | 838 | trace_graph_plot_insert(ginfo, 1, label, PLOT_TYPE_TASK, |
839 | TIME_TYPE_FT, | ||
839 | &task_plot_cb, task_info); | 840 | &task_plot_cb, task_info); |
840 | } | 841 | } |
841 | 842 | ||
@@ -858,6 +859,7 @@ void graph_plot_task(struct graph_info *ginfo, int pid, int pos) | |||
858 | label = malloc_or_die(len); | 859 | label = malloc_or_die(len); |
859 | snprintf(label, len, "%s-%d", comm, pid); | 860 | snprintf(label, len, "%s-%d", comm, pid); |
860 | plot = trace_graph_plot_insert(ginfo, pos, label, PLOT_TYPE_TASK, | 861 | plot = trace_graph_plot_insert(ginfo, pos, label, PLOT_TYPE_TASK, |
862 | TIME_TYPE_RT, | ||
861 | &task_plot_cb, task_info); | 863 | &task_plot_cb, task_info); |
862 | free(label); | 864 | free(label); |
863 | 865 | ||