|Non-Confidential||PDF version||ARM DUI0482M|
|Home > Streamline Annotate > Adding Streamline Annotate to your code|
Streamline provides a set of macros that enable you to send customized output to your generated Analysis Reports. This feature, called Annotate, is much more versatile than
printf statements, and you can use them add overlays or automatic bookmarks to the Timeline view.
To start using the Annotate feature, follow these steps:
gatordcreates the /dev/gator/annotate file.
ANNOTATE_SETUPmacro to your code. It must be called before any other annotate macros are called.
ANNOTATE_DEFINEmacro to your code.
ANNOTATE_COLORmacro and by either choosing a color constant from those defined in streamline_annotate.h or by sending the ASCII escape code followed by a 3-byte RGB value: ANNOTATE_COLOR(color, string)