aboutsummaryrefslogtreecommitdiffstats
path: root/trace-plot-cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'trace-plot-cpu.c')
-rw-r--r--trace-plot-cpu.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/trace-plot-cpu.c b/trace-plot-cpu.c
index 7514b34..5dea225 100644
--- a/trace-plot-cpu.c
+++ b/trace-plot-cpu.c
@@ -95,11 +95,31 @@ static int filter_record(struct graph_info *ginfo,
95 const char *comm; 95 const char *comm;
96 int wake_pid; 96 int wake_pid;
97 int filter; 97 int filter;
98 gint rpid;
99 gint job;
100 unsigned long long release;
101 unsigned long long deadline;
102 unsigned long long period;
103 unsigned long long wcet;
104 unsigned long long when;
98 105
99 *orig_pid = pevent_data_pid(ginfo->pevent, record); 106 *orig_pid = pevent_data_pid(ginfo->pevent, record);
100 107
101 filter = trace_graph_filter_on_task(ginfo, *orig_pid); 108 filter = trace_graph_filter_on_task(ginfo, *orig_pid);
102 109
110
111 /* Load real-time records */
112 rt_graph_check_task_param(&ginfo->rtinfo, ginfo->pevent, record,
113 &rpid, &wcet, &period);
114 rt_graph_check_task_release(&ginfo->rtinfo, ginfo->pevent, record,
115 &rpid, &job, &release, &deadline);
116 rt_graph_check_task_completion(&ginfo->rtinfo, ginfo->pevent, record,
117 &rpid, &job, &when);
118 rt_graph_check_task_block(&ginfo->rtinfo, ginfo->pevent, record,
119 &rpid, &when);
120 rt_graph_check_task_resume(&ginfo->rtinfo, ginfo->pevent, record,
121 &rpid, &when);
122
103 if (trace_graph_check_sched_switch(ginfo, record, sched_pid, &comm)) { 123 if (trace_graph_check_sched_switch(ginfo, record, sched_pid, &comm)) {
104 is_sched_switch = TRUE; 124 is_sched_switch = TRUE;
105 125