[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tracecompass-dev] Trace Compass seems to dispose of some ftrace events
|
Hi Geneviève,
Indeed ftrace support is still very experimental and not complete. We
only support(tested) events and function graph in raw format, so the
regex may ignore some other events, or they may be parsed incorrectly.
well, I do not think, it is a parsing problem: When I have a trace that
e.g. only contains a well-known amount of uprobe-events, all of them are
listed in Trace Compass.
When I have a trace that contains both - function_graph-entries and
entries resulting from uprobe-events, then these uprobe-events somehow
get lost.
We do not have any logs of the trace parsing unfortunately, but if you
want to debug how a line is parsed, you could look at the
GenericFtraceField class in the
org.eclipse.tracecompass.incubator.ftrace.core plugin, the method
parseLine(). For instance, it used not to decode the function_graph
events correctly, just because the value was an hexadecimal string and
it expected a decimal. So it was easily fixed.
Let us know if you find any bug or please send a patch upstream if you
do fix it, it would be greatly appreciated!
OK, I'll definitely let you know, if I find time to have a look in there
and find a bug or a fix.
Ciao
Fabian
Cheers,
Geneviève
On 2018-08-09 06:54 AM, Scheler, Fabian (CT RDA IOT SES-DE) wrote:
Hi Trace Compassers!
I just conducted some experiments with Trace Compass and ftrace and I
noticed that Trace Compass seems to dispose off some of the "normal"
ftrace events, when the trace contains function_graph-events, but not
all of them.
I enabled some custom uprobe-events and I could verify these are part
of the trace-output (I was able to find them e.g. via grep), but these
events were not listed in Trace Compass.
How can I debug if the trace-parser dislikes some parts of the trace?
Is it possible to get a log of the trace-parser or similar?
Ciao
Fabian
_______________________________________________
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
_______________________________________________
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
--
With best regards,
Dr. Fabian Scheler
Siemens AG
Corporate Technology
Research and Development for Digitalization and Automation
CT RDA IOT SES-DE
Guenther-Scharowsky-Str. 1
91058 Erlangen, Germany
Tel.: +49 1522 1702973
Mobile: +49 1522 1702973
mailto:fabian.scheler@xxxxxxxxxxx
www.siemens.com/ingenuityforlife
Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard
Cromme; Managing Board: Joe Kaeser, Chairman, President and Chief
Executive Officer; Roland Busch, Lisa Davis, Klaus Helmrich, Janina
Kugel, Cedrik Neike, Michael Sen, Ralf P. Thomas; Registered offices:
Berlin and Munich, Germany; Commercial registries: Berlin
Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature