Run gatord to capture data locally on a device when you are experiencing network problems, or when you are running headless Continuous Integration (CI) testing.
This topic explains how to set up a local capture on a device using the Streamline GUI. For instructions on how to set up a local capture on a device using the command-line, see Set up a local capture on a device using the command-line.
Export a configuration.xml file.
In the Start view, select the Use advanced mode checkbox.
Click Select Counters.
Click Export... as shown in the following figure. For more information, see Importing and exporting counter configuration files.
Export a session.xml file using the Streamline GUI.
In the Start view, click Capture Settings.
Click Export to export the session.xml, as shown in the following figure:
Run gatord with your configuration.xml and session.xml files, and include the appropriate options for root or non-root devices. This must be done on the command-line:
./gatord -s session.xml -c configuration.xml <options> -o <capture-filename>.apc
gatord captures a profile of all the processes running on your device, and writes the data to the specified location.
Copy the .apc directory into the Streamline capture directory. This directory is usually <Home>/Documents/Streamline.