Annotate and the Log View
ARM DUI 0482K
Copyright © 2010-2012 ARM. All rights reserved.
10-8
ID120712
Non-Confidential
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.
Figure 10-4 Visual annotation with optional text
Note
Visual Annotation supports images in the following formats: GIF, PNG, JPEG, TIFF, ICO, and
BMP +RLE. There is no limit to the image size but the larger the image, the greater impact on
the system performance. Increasing the amount of data sent to the host in this way increases the
probe effect for the applications you are profiling
For an example of how to use Visual Annotate, see the
annotate.c
example source file, located
in
.../gator/annotate/example/
.
Note
When you annotate from within the kernel or a module, you do not need to use
ANNOTATE_DEFINE
and
ANNOTATE_SETUP
. Kernel annotations are not supported in interrupt context.
You can see the effects of visual annotation in the Timeline and Log views of your Streamline
Analysis Reports. With visual annotation, the Timeline view data includes a chart that contains
the annotated images. For more information about how visual annotation changes the Timeline
view and how to interact with it, see
Any annotation event that includes an image has an icon in the message field of the Log view.
Hover over the icon to see the image.
10.3.1
See also
Tasks
•
Customize reports using Annotate
•
•
Creating custom performance counters
Reference
•