tracex_parser.file_parser.get_event_entries

tracex_parser.file_parser.get_event_entries(endian_str, buf, start_idx, control_header)

@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. Events are sorted by their place in the buffer.

Parameters:
  • endian_str (str) –

  • buf (bytes) –

  • start_idx (int) –

  • control_header (CStruct) –

Return type:

Tuple[List[CStruct], int]