Enabling atrace and ttrace annotations
Streamline supports atrace annotations on Android targets that are running Linux kernel versions 3.10 and later, and ttrace annotations on targets that are running Tizen version 2.4.
Streamline converts application-generated atrace macros into either string
annotations or counter charts. It also lists any Android
ATRACE_TAG_* macros that you enable as available events in an Atrace section in the Counter
Configuration dialog. If you expect to see atrace events in this dialog
but none are displayed, click on the Warnings tag in the Counter Configuration dialog to see why atrace support is not
To notify running applications that atrace annotation tags have been
enabled, the file notify.dex must be installed on
the target in the same directory as
gatord. You can
install a pre-built version of notify.dex as part
of target setup, by clicking the Setup target...
button in the Connection Browser dialog. The Java
source code for notify.dex is available in the
To enable Tizen ttrace annotations:
- Specify the path to SDB in the ADB Path field in the Capture & Analysis Options dialog.
- Select a target Tizen device, with gator running on it, using the Connection Browser dialog.
- Select the ttrace events to capture from the Ttrace section in the Counter Configuration dialog.
Streamline displays the ttrace tags as annotations in the Timeline view and Log view.