Lines Matching refs:trace
35 trace = trappy.SysTrace("trace.html", events=events)
37 self.assertTrue(hasattr(trace, "sched_switch"))
38 self.assertEquals(len(trace.sched_switch.data_frame), 4)
39 self.assertTrue("prev_comm" in trace.sched_switch.data_frame.columns)
41 self.assertTrue(hasattr(trace, "sched_wakeup"))
42 self.assertEquals(len(trace.sched_wakeup.data_frame), 4)
43 self.assertTrue("target_cpu" in trace.sched_wakeup.data_frame.columns)
45 self.assertTrue(hasattr(trace, "trace_event_clock_sync"))
46 self.assertEquals(len(trace.trace_event_clock_sync.data_frame), 1)
47 self.assertTrue("realtime_ts" in trace.trace_event_clock_sync.data_frame.columns)
52 trace = trappy.SysTrace("trace.html")
54 self.assertTrue(hasattr(trace, "_cpus"))
55 self.assertEquals(trace._cpus, 3)
61 trace = trappy.SysTrace("trace_sf.html")
62 dfr = trace.tracing_mark_write.data_frame
89 trace = trappy.SysTrace("trace_sf.html")
90 dfr = trace.sched_switch.data_frame
91 self.assertEquals(trace.lines, 2506)
108 trace = trappy.SysTrace("trace.html", events=events)
110 self.assertTrue(hasattr(trace, "sched_switch"))
111 self.assertEquals(len(trace.sched_switch.data_frame), 3)
112 self.assertTrue("prev_comm" in trace.sched_switch.data_frame.columns)
114 self.assertTrue(hasattr(trace, "sched_wakeup"))
115 self.assertEquals(len(trace.sched_wakeup.data_frame), 2)
116 self.assertTrue("target_cpu" in trace.sched_wakeup.data_frame.columns)
118 self.assertTrue(hasattr(trace, "sched_contrib_scale_f"))
119 self.assertEquals(len(trace.sched_contrib_scale_f.data_frame), 2)
120 self.assertTrue("freq_scale_factor" in trace.sched_contrib_scale_f.data_frame.columns)
125 trace = trappy.SysTrace("trace.html")
127 self.assertTrue(hasattr(trace, "_cpus"))
128 self.assertEquals(trace._cpus, 8)