tracetools_analysis.loading package

Module contents

Module for loading traces.

tracetools_analysis.loading.load_file(input_path: str, do_convert_if_needed: bool = True, force_conversion: bool = False, quiet: bool = False) List[Dict]

Load file containing converted trace events.

Parameters:
  • input_path – the path to a converted file or trace directory

  • do_convert_if_needed – whether to create the converted file if needed (else, let it fail)

  • force_conversion – whether to re-create converted file even if it is found

  • quiet – whether to not print any output

Returns:

the list of events read from the file