Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Txt parser to custom analysis

Hi, 

Thanks Geneviève, that was what I was looking for. The view is now recognised for the trace and I got 1 line with a device switching states. Now I can expand the model.

Thanks again,

Johan

On Mon, Dec 5, 2016 at 3:28 PM, Geneviève Bastien <gbastien+lttng@xxxxxxxxxxxx> wrote:
Hi Johan,

On 12/05/2016 03:56 AM, Johan Vereijken wrote:
>
>
> My questions:
> Is this the right place to ask these questions?
Definitely!
> Is it possible using a text input trace to create the graph I want?
Yes, any kind of trace can be used with custom analyses
> How can i get the state provider to use the events coming from the
> custom text parser?
The trace type tag for custom traces is a bit tricky. For example, one
of my analysis that runs on a custom text trace has the following tag:

<traceType
id="org.eclipse.tracecompass.tmf.core.parsers.custom.CustomTxtTrace:TMF:TraceCompassLog"
/>

Where "TMF" is the category and "TraceCompassLog" is the name of my
trace type.

In your case, I guess you could try

<traceType
id="org.eclipse.tracecompass.tmf.core.parsers.custom.CustomTxtTrace:Custom
Text-xml:xml" />

If you select your trace in the project explorer and look at the
"Properties" view, the last 2 parts if the type ID property will give
you what to put after the :

Let us know if this works.

Cheers,
Geneviève
_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tracecompass-dev


Back to the top