Non-Confidential | ![]() | ARM DUI0482M | ||
| ||||
Home > Streamline Annotate > Adding Visual Annotate to your code |
Streamline provides a set of macros that enable you to send images to your generated Analysis Reports. Use them to add images to Timeline and Log views.
To use the Visual Annotate feature to add images to the Timeline and Log views, follow these steps:
gatord
is running. gatord
creates the
/dev/gator/annotate file.
ANNOTATE_SETUP
macro to your code. It must be called
before any other annotate macros are called.
ANNOTATE_DEFINE
macro to your code. You must call the following
before using the ANNOTATE_VISUAL
macro.
ANNOTATE_VISUAL
macro into your code:
ANNOTATE_VISUAL(data, length, str); Replace
data
with your image, length
with the size
of the data being written to the annotate file, and str
with a
descriptive string to be included with the image. Including a string is
optional.