tracex_parser.file_parser
Functions
|
@see https://docs.microsoft.com/en-us/azure/rtos/tracex/chapter11#event-trace-control-header Unpacks the control header into a dict-like CStruct |
|
Returns the endianness of the TraceX dump based on the first couple bytes |
|
@see https://docs.microsoft.com/en-us/azure/rtos/tracex/chapter11#event-trace-entries Unpacks the TraceX events into a list of dict-like CStructs. |
|
@see https://docs.microsoft.com/en-us/azure/rtos/tracex/chapter11#event-trace-object-registry Unpacks the object registry into a list of dict-like CStructs |
|
|
|
Parse a TraceX binary dump (canonically .trx) into a list of TraceXEvent classes :param filepath: Path to where the TraceX file is :param custom_events_map: Dictionary of {id: TraceXEvents} to map custom events (id >= 4096) into human-readable events. |