aboutsummaryrefslogtreecommitdiff
path: root/trappy/bare_trace.py
AgeCommit message (Collapse)Author
2017-06-29trappy/caching: Couple of fixesJoel Fernandes
- json params loading represents keys as unicode, use dumps to fix it - finalize_objects need to be run always for cases where some events not cached, fix it by moving it up and also handle bjackman's concern that we run it twice by skipping finalize for cached events. - fix time normalization breakage as a result of the above changes Change-Id: I2011de0ae8112e937ee61baee8d53a63d0bbe85a Signed-off-by: Joel Fernandes <joelaf@google.com>
2017-06-27trappy/Parsing: Split trace class init into two phasesChris Redpath
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>
2017-06-14trappy: Split out parsing of trace string into separate functionJoel Fernandes
In preparation of being able to parse systrace, split out data string processing into separate function so it can be overridden by sub classes. Signed-off-by: Joel Fernandes <joelaf@google.com> Reviewed-by: KP Singh <kpsingh@google.com>
2017-01-04Update ARM Ltd. copyright to 2017Brendan Jackman
2016-01-05trappy: update copyright to 2016Javi Merino
2015-12-22bare_trace: abstract some of the basic FTrace functionality to a generic ↵Javi Merino
BareTrace class Part of the functionality in FTrace is generic. In order to make the rest of trappy less dependent on FTrace, move the generic parts to a new BareTrace class and inherit from it.