Setting Up Your Target
ARM DUI 0482K
Copyright © 2010-2012 ARM. All rights reserved.
2-9
ID120712
Non-Confidential
-m
If
gator.ko
is located in a different directory than gatord, use the
-m
option to
define the location of
gator.ko
.
-p
Sets the port number that
gatord
uses to communicate with the host.
-s
Defines the location of the session.xml file. Include the directory location and the
file name. This option is most useful when performing a local capture. For more
information, see
.
-o
Useful when performing a local capture, use this option to define the location of
the apc directory.
-v
Displays the version information for
gatord
.
Note
To unload the gator daemon, determine the process id of gatord using
ps -d | grep gatord
and
enter the kill command:
kill
process_id
.
By default,
gatord
uses port 8080 for communication with the host, but you can adjust this by
launching
gatord
with the port number as a parameter and changing the
Port
option in the
Capture Options dialog box. For example:
./gatord 5050 &
To open the Capture Options dialog box, click
Change capture options
in the Streamline Data
view.
2.2.6
Set capture options to support your Android target
In the Capture Options dialog box, opened in the Streamline Data view in Eclipse for DS-5 and
enter the ethernet address. If you use the ADB to forward the port, enter
Localhost
in the
Address field.
Note
With Android, make sure to add the shared libraries you are interested in profiling to the session
using the Program Images section of the Capture Options dialog box.
2.2.7
See also
Tasks
•
Opening the Capture Options dialog box
•
Setting up an ARM Linux target
Reference
•
•
•
.