xrmx / bootchart

merge of bootchart-collector and pybootchartgui
GNU General Public License v2.0
233 stars 87 forks source link

pybootchartgui: Support labeling custom annotations #81

Open bkylerussell opened 5 years ago

bkylerussell commented 5 years ago

Adds support for specifying custom annotations either individually through the command line --annotate option, or in bulk through an input file. This can be useful for decorating the bootchart with other meaningful time-based data not directly associated with the starting and stopping of a process.

When providing --annotate with a filename, the file should be formatted as follows:

<label>  <time>
<label2> <time2>

where

This change also supports adding similarly formatted

Moves the ProcessTree instantiation above the annotation processing to take advantage of proc_tree.duration when calculating where

Signed-off-by: Kyle Russell bkylerussell@gmail.com