This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I want to use Streamline offline, how to create a configuration.xml file? In case no connection between host and target

Hi, All,

i am trying to analyze performance using streamline offline, in help document it say that must create a configuration.xml file for gatord, but it just list the steps with connection, how to create a configuration.xml file if not connection???

thanks

To capture data locally, follow these steps:

Procedure
  1. Create a session.xml file. To do so, use the Capture & Analysis Options dialog box to set your capture options, then click the Export... button to save the new session.xml file. Alternatively, you can copy a session.xml file from an existing Capture.
  2. Create a configuration.xml file. To do so, define your target in the Connection field, then open the Counter Configuration dialog box from the Streamline Data view. Set up the counters you want to collect, then click Save. A new configuration.xml file is created in the directory where gatord is running. This file is automatically used when you run gatord. To define a specific configuration file, use the -c option when you run gatord. If your target is not TCP/IP capable, you must create a configuration.xml file and manually transfer it to your target.

ARM Information Center

Parents
  • Hi jiangbo,

    To manually create a configuration.xml file in order to run Streamline offline, it's easiest to take an example file and modify it. Here's one from C:/Program Files/DS-5/arm/gator/protocol/gator_protocol-5-16.html

    <?xml version="1.0" encoding="utf-8"?>

    <captured version="1" created="1361467764" protocol="16">

      <target sample_rate="100" cores="5" cpuid="0xc0f"/>

      <counters>

        <counter key="0x3" type="ARM_Cortex-A7_cnt1" event="0x10"/>

        <counter key="0x4" type="ARM_Cortex-A7_cnt2" event="0x16"/>

        <counter key="0x1" type="ARM_Cortex-A7_ccnt" event="0xff"/>

        <counter key="0x2" type="ARM_Cortex-A7_cnt0" event="0x8"/>

        <counter key="0x15" type="Linux_power_cpu_freq" event="0x0"/>

        <counter key="0x9" type="Linux_block_rq_rd" event="0x0"/>

        <counter key="0x8" type="Linux_block_rq_wr" event="0x0"/>

        <counter key="0xc" type="Linux_meminfo_memfree" event="0x0"/>

        <counter key="0xd" type="Linux_meminfo_memused" event="0x0"/>

        <counter key="0x12" type="Linux_net_rx" event="0x0"/>

        <counter key="0x13" type="Linux_net_tx" event="0x0"/>

      </counters>

    </captured>


    You can then modify it to support the counters that you require (and configure for a specific CPU). To understand the counter hex codes for each CPU, look in the source: C:\Program Files\DS-5\arm\gator\daemon-src


    Edit - the counters will be in files such as: events-Cortex-A9.xml

    Hope this helps,

    Joe

Reply
  • Hi jiangbo,

    To manually create a configuration.xml file in order to run Streamline offline, it's easiest to take an example file and modify it. Here's one from C:/Program Files/DS-5/arm/gator/protocol/gator_protocol-5-16.html

    <?xml version="1.0" encoding="utf-8"?>

    <captured version="1" created="1361467764" protocol="16">

      <target sample_rate="100" cores="5" cpuid="0xc0f"/>

      <counters>

        <counter key="0x3" type="ARM_Cortex-A7_cnt1" event="0x10"/>

        <counter key="0x4" type="ARM_Cortex-A7_cnt2" event="0x16"/>

        <counter key="0x1" type="ARM_Cortex-A7_ccnt" event="0xff"/>

        <counter key="0x2" type="ARM_Cortex-A7_cnt0" event="0x8"/>

        <counter key="0x15" type="Linux_power_cpu_freq" event="0x0"/>

        <counter key="0x9" type="Linux_block_rq_rd" event="0x0"/>

        <counter key="0x8" type="Linux_block_rq_wr" event="0x0"/>

        <counter key="0xc" type="Linux_meminfo_memfree" event="0x0"/>

        <counter key="0xd" type="Linux_meminfo_memused" event="0x0"/>

        <counter key="0x12" type="Linux_net_rx" event="0x0"/>

        <counter key="0x13" type="Linux_net_tx" event="0x0"/>

      </counters>

    </captured>


    You can then modify it to support the counters that you require (and configure for a specific CPU). To understand the counter hex codes for each CPU, look in the source: C:\Program Files\DS-5\arm\gator\daemon-src


    Edit - the counters will be in files such as: events-Cortex-A9.xml

    Hope this helps,

    Joe

Children
No data