
www.arm.com/ds5 11
Streamline Views
Navigating a Streamline report
A Streamline report provides a great depth of performance-
related information on six panes: Timeline, Call Paths,
Functions, Code, Call Graph, and Stack Analysis.
Start with the Timeline and Functions for an overview of the
execution. Use the other panes to focus your analysis. Use the
tabs on the top to navigate between the panes. Alternatively,
right-click on a function name to highlight the function on
another pane.
Code view highlights the hot spots within a function by displaying
the processor time spent on each line of source code and on each ARM or
Thumb disassembly instruction.
Call paths view shows the processor time spent on each call tree.
A flat profiling report is generated for the selected call path, which enables you
to focus the analysis on a process or thread.
10 DS5 Quick Start Guide
Streamline is a sample-based performance analysis tool. It
records samples of the program counter, call stack and
performance counters, processes the information, and displays
it in useful reports.
To use Streamline open the ARM Streamline Data view.
From the Eclipse menu select Window
and open the ARM Streamline folder.
Setting up your system
To get the most out of Streamline you need:
nNetwork connection to the target. Streaming over
Ethernet enables long capture sessions. Alternatively, store
samples on a memory buffer on the target for minimal
intrusiveness.
nBuild the Streamline module with the target’s Linux
kernel and copy the Streamline daemon to the same
directory. Streamline works on Linux 2.6.32 or later.
nEnable frame pointers when you build your application
and libraries. This enables Streamline to unwind the call stack
and generate call-path reports.
Analyze with libraries. Loading the symbols of libraries and
shared objects enhances the analysis of applications.
Launching Streamline
? Show View ?
Other...
The Streamline Data view gives access to previous reports.
Double-click on an
analysis file (.apd) to
open a Streamline report.
Open a capture file (.apc) to re-analyze the
samples, focusing the analysis on different
applications or shared libraries.
Starting a Performance Analysis Session
To start capturing samples, type
the TCP/IP address or name of
the ARM target and click “Play”.
Set up the capture options and
software images to analyze.
Choose streaming mode to
capture data for a long period.
Assign a name to the
report for later use.
For applications and libraries on
this list, profiling reports are
generated down to source level.
Host name or TCP/IP
address of the target.
The Streamline Capture Options dialogue enables you to select the right balance between granularity and information detail, and intrusiveness.
Check this box to generate
call-path reports.
Save your configuration options
for future Streamline sessions.
Open or close the
samples report.
Switch between heat
map and core-thread
affinity views.
Select a time range for
Call Paths, Functions
and Code views.
Timeline view shows process and thread information over time, matched to
SoC performance counters. This enables you to spot thread deadlocks and
inefficiencies, as well as hot spots in time.
Expand charts per
core and threads
per process.
Select a time
period for the
samples report.
Samples report
provides information
at function level.
Kommentare zu diesen Handbüchern