trappy.plotter package

Module contents

Init Module for the Plotter Code

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

Creates a kernelshark like plot of the trace file

Parameters:
  • trace (str, trappy.trace.FTrace, trappy.trace.SysTrace or trappy.trace.BareTrace.) – The path to the trace or a trace object
  • execnames (list, str) – List of execnames to be filtered. If not specified all execnames will be plotted
  • pids (list, str) – List of pids to be filtered. If not specified all pids will be plotted
trappy.plotter.register_forwarding_arg(arg_name)[source]
Allows the user to register args to
be forwarded to matplotlib
Parameters:arg_name (str) – The arg to register
trappy.plotter.unregister_forwarding_arg(arg_name)[source]
Unregisters arg_name from being passed to
plotter matplotlib calls
Parameters:arg_name (str) – The arg to register