trappy.plotter.Utils module

Utils module has generic utils that will be used across objects

trappy.plotter.Utils.decolonize(val)[source]

Remove the colon at the end of the word This will be used by the unique word of template class to sanitize attr accesses

trappy.plotter.Utils.get_trace_event_data(trace, execnames=None, pids=None)[source]

Create a list of objects that can be consumed by EventPlot to plot task residency like kernelshark

trappy.plotter.Utils.normalize_list(val, lst)[source]

Normalize a unitary list