From e15cf27a6fb6f8498def2a4e036483fd7089a530 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 8 Mar 2012 01:37:03 -0500 Subject: 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. --- trace-plot-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trace-plot-cpu.c') 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, /* Load real-time records */ - rt_graph_check_task_param(&ginfo->rtinfo, ginfo->pevent, record, + rt_graph_check_task_param(&ginfo->rtg_info, ginfo->pevent, record, &rpid, &wcet, &period); if (trace_graph_check_sched_switch(ginfo, record, sched_pid, &comm)) { -- cgit v1.2.2