aboutsummaryrefslogtreecommitdiffstats
path: root/trace-plot-cpu.c
diff options
context:
space:
mode:
authorJonathan <hermanjl@hermanjl-Aspire-5553G.(none)>2012-03-08 01:37:03 -0500
committerJonathan <hermanjl@hermanjl-Aspire-5553G.(none)>2012-03-08 01:37:03 -0500
commite15cf27a6fb6f8498def2a4e036483fd7089a530 (patch)
treefab7f0e20c1681bca1e3b584c6d420fbc8406ae4 /trace-plot-cpu.c
parente9f207ed3c68bca111d0e21a2bf601b4564ed748 (diff)
rt-graph: input to real-time plots is processed using real-time timestamps
Each plot processes only the records which fit within the time window displayed. When passing records into a real-time plot, kernelshark will now decide if a record is within the current time window using real-time timestamps, instead of the old ftrace timestamps. This change also enables infinite zooming into the real-time plots.
Diffstat (limited to 'trace-plot-cpu.c')
-rw-r--r--trace-plot-cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-plot-cpu.c b/trace-plot-cpu.c
index 00f07af..28baaa5 100644
--- a/trace-plot-cpu.c
+++ b/trace-plot-cpu.c
@@ -89,7 +89,7 @@ static int filter_record(struct graph_info *ginfo,
89 89
90 90
91 /* Load real-time records */ 91 /* Load real-time records */
92 rt_graph_check_task_param(&ginfo->rtinfo, ginfo->pevent, record, 92 rt_graph_check_task_param(&ginfo->rtg_info, ginfo->pevent, record,
93 &rpid, &wcet, &period); 93 &rpid, &wcet, &period);
94 94
95 if (trace_graph_check_sched_switch(ginfo, record, sched_pid, &comm)) { 95 if (trace_graph_check_sched_switch(ginfo, record, sched_pid, &comm)) {