[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] ftrace & xenomai

Hi Fabian,


Matthew is on vacation for this week. I am not sure if i understood well your question but i think you can define something the control flow view using xml and you will be able to see your data in a time graph view as the control flow view (but you will lose lot of the capabilities of the control flow view).

Please download and load the XML file at https://secretaire.dorsal.polymtl.ca/~gbastien/Xml4Traces/Kernel.Linux.xml into trace compass, this should provide you a view described using xml that have kind of the same output as the control flow view. The file contains also an analysis, described in XML that feed the view.


To use the file:

  • Load: Right-click the Traces folder, select Manage XML analyses.... In the opened dialog import the Kernel.Linux.xml file and close the dialog.
  • Enable: click on the checkbox next to Kernel.Linux to enable it and click Apply.
    • Verify that the 'Xml kernel State System' analysis is now present under the LTTng kernel trace
  • Populate view: The 'Xml kernel State System' analysis should have a + next to it, expand it and there should be 2 views under it: 'Xml Control Flow View' and 'Xml Resources View'
  • Open (double-click) the Xml Control Flow View



Please Genevieve could you confirm this can help?


BR,

JC



From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Scheler, Fabian (CT RDA IOT SES-DE) <Fabian.Scheler@xxxxxxxxxxx>
Sent: Tuesday, August 14, 2018 7:59:00 AM
To: tracecompass-dev@xxxxxxxxxxx
Subject: Re: [tracecompass-dev] ftrace & xenomai
 
Hi Matthew,

> Could you share a xenomai trace? we can see if it works. Ftrace has a
> well defined trace format, so it should... but there's always the devil
> in the details.

well, at the moment, I am struggling a little to provide such a trace ...

> If it doesn't work, the dev time to fix it can vary between minutes and
> weeks. I can't say without looking at the trace. But I would tend to
> think minutes.

however, I do not think it is a parsing-problem as the events created by
xenomai/cobalt are displayed correctly.

My question rather is related to the "Control Flow"-Analysis for the
Linux Kernel. In order to also provide that analysis for xenomai-threads
the events created by xenomai need to be handled correctly.

So, to be more precise, my question is: Is the "Control Flow"-Analysis
for the Linux Kernel able to handle also xenomai-threads?

Ciao
Fabian


> BR,
>
> Matthew
>
> ------------------------------------------------------------------------
> *From:* tracecompass-dev-bounces@xxxxxxxxxxx
> <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Scheler, Fabian (CT
> RDA IOT SES-DE) <Fabian.Scheler@xxxxxxxxxxx>
> *Sent:* Thursday, August 9, 2018 6:56:54 AM
> *To:* tracecompass-dev@xxxxxxxxxxx
> *Subject:* [tracecompass-dev] ftrace & xenomai
> Hi Trace Compassers!
>
> Is there xenomai-support available in the ftrace-support? If not, can I
> add this on my own? How much effort would this cause?
>
> Ciao
> Fabian
> --
> 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 <http://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
>
>
> _______________________________________________
> 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