diff options
author | Chris Redpath <chris.redpath@arm.com> | 2017-06-17 17:19:55 +0100 |
---|---|---|
committer | KP Singh <kpsingh@google.com> | 2017-06-27 12:08:09 +0200 |
commit | b01c848f3928dfcdf2f3d7dae1343bbe677847ef (patch) | |
tree | 7a8c70dc08c9f1bea3f7c47ee6db67c91e197429 /trappy/bare_trace.py | |
parent | 55c392261a854cd219ec985cbd042e75ec0e922f (diff) | |
download | trappy-b01c848f3928dfcdf2f3d7dae1343bbe677847ef.tar.gz |
trappy/Parsing: Split trace class init into two phases
This patch set is to modify the parsing step so that we don't need to
build a raw and a formatted trace file. To do that, we need to know
which events should have raw output and which should use their default
formatting. The events indicate which are which, but currently we
generate the trace files before we populate the events.
Splitting the initialisation into two parts means that we can populate
the events so that a later patch can create the text trace with each
event either formatted or raw as required.
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Reviewed-by: KP Singh <kpsingh@google.com>
Diffstat (limited to 'trappy/bare_trace.py')
-rw-r--r-- | trappy/bare_trace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trappy/bare_trace.py b/trappy/bare_trace.py index 2d4400b..e4fec48 100644 --- a/trappy/bare_trace.py +++ b/trappy/bare_trace.py @@ -67,7 +67,7 @@ class BareTrace(object): return filters - def normalize_time(self, basetime=None): + def _normalize_time(self, basetime=None): """Normalize the time of all the trace classes :param basetime: The offset which needs to be subtracted from |