diff options
Diffstat (limited to 'rt-plot-cpu.c')
-rw-r--r-- | rt-plot-cpu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rt-plot-cpu.c b/rt-plot-cpu.c index 28ae26b..ba380fb 100644 --- a/rt-plot-cpu.c +++ b/rt-plot-cpu.c | |||
@@ -276,6 +276,9 @@ static void do_plot_end(struct graph_info *ginfo, struct rt_cpu_info *rtc_info, | |||
276 | int pid; | 276 | int pid; |
277 | struct record *record; | 277 | struct record *record; |
278 | 278 | ||
279 | if (ginfo->view_end_time == ginfo->end_time) | ||
280 | return; | ||
281 | |||
279 | if (rtc_info->rt_run_time && rtc_info->run_pid) { | 282 | if (rtc_info->rt_run_time && rtc_info->run_pid) { |
280 | info->box = TRUE; | 283 | info->box = TRUE; |
281 | info->bcolor = hash_pid(rtc_info->run_pid); | 284 | info->bcolor = hash_pid(rtc_info->run_pid); |
@@ -359,8 +362,8 @@ static int rt_cpu_plot_event(struct graph_info *ginfo, struct graph_plot *plot, | |||
359 | rt_graph_check_container_param(ARG, &dchar); | 362 | rt_graph_check_container_param(ARG, &dchar); |
360 | rt_graph_check_server_param(ARG, &dint, &dull, &dull); | 363 | rt_graph_check_server_param(ARG, &dint, &dull, &dull); |
361 | rt_graph_check_task_release(ARG, &dint, &dull, &dull); | 364 | rt_graph_check_task_release(ARG, &dint, &dull, &dull); |
362 | rt_graph_check_task_block(ARG, &dull); | 365 | rt_graph_check_task_block(ARG, &dint, &dull); |
363 | rt_graph_check_task_resume(ARG, &dull); | 366 | rt_graph_check_task_resume(ARG, &dint, &dull); |
364 | rt_graph_check_any(ARG, &eid, &ts); | 367 | rt_graph_check_any(ARG, &eid, &ts); |
365 | #undef ARG | 368 | #undef ARG |
366 | 369 | ||