tracetools_analysis.conversion.ctf module

Module with CTF to pickle conversion functions.

tracetools_analysis.conversion.ctf.convert(trace_directory: str, output_file_path: str) int

Convert CTF trace to pickle file.

Parameters:
  • trace_directory – the trace directory

  • output_file_path – the path to the output file that will be created

Returns:

the number of events written to the output file

tracetools_analysis.conversion.ctf.ctf_to_pickle(trace_directory: str, target: Pickler) int

Load CTF trace, convert events, and dump to a pickle file.

Parameters:
  • trace_directory – the trace directory

  • target – the target file to write to

Returns:

the number of events written