trappy.systrace module¶
-
class
trappy.systrace.SysTrace(path='.', name='', normalize_time=True, scope='all', events=[], window=(0, None), abs_window=(0, None))[source]¶ Bases:
trappy.ftrace.GenericFTraceA wrapper that parses all events of a SysTrace run
It receives the same parameters as
trappy.ftrace.FTrace.-
trace_hasnt_finished()[source]¶ Return a function that returns True while the current line is still part of the trace
In Systrace, the first line that is not part of the trace is </script>. There’s a further “<!– END TRACE –>” but there’s not point scanning for it, we should stop parsing as soon as we see the </script>
-