Using Streamline on the Command Line 
ARM DUI 0482K Copyright © 2010-2012 ARM. All rights reserved. 13-3
ID120712 Non-Confidential
13.2 The 
streamline
 command
The
 streamline
 command has three different modes that enable you to use most features of 
Streamline outside of the DS-5 for Eclipse user interface.
13.2.1 Syntax
streamline <mode> [options] <file...>
13.2.2
streamline
 command modes
Use any of the following modes directly after 
streamline
 on the command line:
-capture  This mode initiates a capture session. You must enter a valid session.xml file with 
the capture mode declaration. The 
session.xml
 file defines your target hardware 
and the parameters of the capture session. For example:
streamline -capture session.xml
To create a 
session.xml
 file, enter your settings and then use the Export... option 
in the Capture Options dialog box within DS-5 for Eclipse. For instructions on 
how to create a 
session.xml
 file manually, see Capturing data on your target on 
page 11-2.
-analyze  Use this mode to analyze existing Capture Data. You must enter a valid .apc 
capture file after 
-analyze
. For example: 
streamline -analyze threads_001.apc
For more information on the analyze feature, see Using Stored Streamline 
Capture Data to create new Streamline Analysis Reports on page 11-9.
-report  This mode reads data from an analysis report and outputs it your console. You can 
use options to define how that data appears in the console or define an output file 
to store the data to disk. You must enter a valid .apd file after the declaration of 
report mode.
streamline -report threads_001_001.apd
Figure 13-1 A functions report generated using report mode
13.2.3
streamline
 command options
Enter any option between the mode and file. The following options are available in any mode:
-h, -?, -help
 
Outputs help information to the console, listing each mode and option as well as 
the required syntax.
-v, -version
  Displays the program version information.