aboutsummaryrefslogtreecommitdiffstats
path: root/rt-plot-cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt-plot-cpu.c')
-rw-r--r--rt-plot-cpu.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/rt-plot-cpu.c b/rt-plot-cpu.c
index 9a609e0..aa7b611 100644
--- a/rt-plot-cpu.c
+++ b/rt-plot-cpu.c
@@ -345,21 +345,25 @@ static int rt_cpu_plot_event(struct graph_info *ginfo, struct graph_plot *plot,
345 345
346 match = try_switch_away(ginfo, rtc_info, record, info) || 346 match = try_switch_away(ginfo, rtc_info, record, info) ||
347 try_switch_to(ginfo, rtc_info, record, info) || 347 try_switch_to(ginfo, rtc_info, record, info) ||
348 try_completion(ginfo, rtc_info, record, info) ||
349 try_sched_switch(ginfo, rtc_info, record, info); 348 try_sched_switch(ginfo, rtc_info, record, info);
350 349
350 if (is_high_res(ginfo)) {
351 match = match || try_completion(ginfo, rtc_info, record, info);
352
353 }
354
351 if (!match) { 355 if (!match) {
352 /* TODO: this should not be necessary! 356 /* TODO: this should not be necessary!
353 * Have to call checks to ensure ids are loaded. Otherwise, 357 * Have to call checks to ensure ids are loaded. Otherwise,
354 * is_displayed will not work here or in any other methods. 358 * is_displayed will not work here or in any other methods.
355 */ 359 */
356#define ARG ginfo,record, &pid 360#define ARG ginfo,record, &pid
357 rt_graph_check_task_param(ARG, &dull, &dull); 361 rt_graph_check_task_param(ARG, &dull, &dull) ||
358 rt_graph_check_container_param(ARG, &dchar); 362 rt_graph_check_container_param(ARG, &dchar) ||
359 rt_graph_check_server_param(ARG, &dint, &dull, &dull); 363 rt_graph_check_server_param(ARG, &dint, &dull, &dull) ||
360 rt_graph_check_task_release(ARG, &dint, &dull, &dull); 364 rt_graph_check_task_release(ARG, &dint, &dull, &dull) ||
361 rt_graph_check_task_block(ARG, &dint, &dull); 365 rt_graph_check_task_block(ARG, &dint, &dull) ||
362 rt_graph_check_task_resume(ARG, &dint, &dull); 366 rt_graph_check_task_resume(ARG, &dint, &dull) ||
363 rt_graph_check_any(ARG, &eid, &ts); 367 rt_graph_check_any(ARG, &eid, &ts);
364#undef ARG 368#undef ARG
365 369