[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [linuxtools-dev] Tracing TMF for debugging
|
Hi Francis
If you import the attached custom text parser into TMF then you can
load the traces (generated by TmfCoreTracer) into TMF and analyze
them with TMF.
See integrated LTTng User Guide chapter "Custom Parsers" on how to
import and manage custom parsers.
/Bernd
On 04/07/2014 05:02 PM, Patrick Tasse
wrote:
Hi Francis,
Usually I turn this on in Run/Debug Configurations, select your
JUnit Plug-in Test configuration, then under the Tracing tab,
enable tracing for org.eclipse.linuxtools.tmf.core plug-in and
select the four check boxes.
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CustomTxtTraceDefinitionList>
<Definition name="TmfGenericDefault">
<TimeStampOutputFormat>yyyy-MM-dd HH:mm:ss.SSS</TimeStampOutputFormat>
<InputLine>
<Cardinality max="2147483647" min="0"/>
<RegEx>\s*\[(\d*\.\d*)\]\s*\[TID=(\d*)\]\s*\[(SIG|CMP|EVT|REQ)\]\s*(.*)</RegEx>
<InputData action="0" format="ss.SSS" name="Time Stamp"/>
<InputData action="0" format="" name="Thread ID"/>
<InputData action="0" format="" name="Type"/>
<InputData action="0" format="" name="Message"/>
</InputLine>
<OutputColumn name="Time Stamp"/>
<OutputColumn name="Thread ID"/>
<OutputColumn name="Type"/>
<OutputColumn name="Message"/>
</Definition>
</CustomTxtTraceDefinitionList>