Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Problems importing simple values from

Hi Robbert,

thank you for your hints. I alread read that docs and could get my task switch logs into a timeGraphView. But I have no Idea how to 
configure the a stateProvider for a kind of value "pass through" to a XY chart.

Here is my current test environment:

input Log data:

The parser:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<Definition category="CSV" name="MyDebugTrace">
<Cardinality max="2147483647" min="0"/>
<InputData action="0" format="Tm.SS" name="Timestamp" tag="TIMESTAMP"/>
<InputData action="0" format="" name="ValueId" tag="OTHER"/>
<InputData action="0" format="" name="UserValue" tag="OTHER"/>
<OutputColumn name="Timestamp" tag="TIMESTAMP"/>
<OutputColumn name="ValueId" tag="OTHER"/>
<OutputColumn name="UserValue" tag="OTHER"/>

.. and the analysis XML (not working):

<?xml version="1.0" encoding="UTF-8"?>
<tmfxml xmlns:xsi=""; xsi:noNamespaceSchemaLocation="../../org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/tmf/analysis/xml/core/module/xmlDefinition.xsd">

    <stateProvider version="0" id="org.eclipse.tracecompass.uservalue.analysis">
            <traceType id="mytrace:CSV:MyDebugTrace" />
            <label value="My TraceLog Analysis" />
        <eventHandler eventName="EvUserValue">
                <stateAttribute type="constant" value="UserValues" />
                <stateAttribute type="eventField" value="ValueId" />
                <stateValue type="int" value="UserValue" />
    <xyView id="my.test.xy.chart.view">
            <analysis id="org.eclipse.tracecompass.uservalue.analysis" />
            <label value="User value XY view" />

        <entry path="UserValues/*">
            <display type="constant" value="value" />
            <name type="self" />


What I want is simply track the value "UserValue" from the Log entries at a XY chart over the time.

kind regards,

Am 27.10.2016 um 18:00 schrieb tracecompass-dev-request@xxxxxxxxxxx:
> ------------------------------
> Message: 2
> Date: Thu, 27 Oct 2016 10:11:54 +0000
> From: Robbert Jongeling <robbert.jongeling@xxxxxxxx>
> To: "tracecompass-dev@xxxxxxxxxxx" <tracecompass-dev@xxxxxxxxxxx>
> Subject: Re: [tracecompass-dev] Problems importing simple values from
> 	CSV
> Message-ID:
> 	<HE1PR08MB0505554ECEB1BAADA8AE23D691AA0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"
> Hi Joerg,
> Have you checked the User Guide on creating a state provider and on defining an XY chart ?
> There is also an example XML state provider and view definition available here:
> It's difficult to say what the problem is without your XML state provider and view definition :)
> Kind regards,
> Robbert

Back to the top