* [lttng-dev] Need help in converting trace data into CTF @ 2019-05-16 5:42 Ravindra Kumar Meena 2019-05-16 18:52 ` Mathieu Desnoyers 0 siblings, 1 reply; 5+ messages in thread From: Ravindra Kumar Meena @ 2019-05-16 5:42 UTC (permalink / raw) Hi LTTng developers, I have been selected at GSoC 2019 with organization RTEMs. My project is https://devel.rtems.org/ticket/3696 The objective of the project is to convert the trace data into CTF. The trace data is already generated by the system. All that is left is to convert the trace data into CTF. I am interested in CTF because I want to send it to trace compass for analysis. Any idea how can I achieve this? -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) <https://www.iitism.ac.in/>, Dhanbad -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190516/8121c48c/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [lttng-dev] Need help in converting trace data into CTF 2019-05-16 5:42 [lttng-dev] Need help in converting trace data into CTF Ravindra Kumar Meena @ 2019-05-16 18:52 ` Mathieu Desnoyers 2019-05-29 16:19 ` Ravindra Kumar Meena 0 siblings, 1 reply; 5+ messages in thread From: Mathieu Desnoyers @ 2019-05-16 18:52 UTC (permalink / raw) ----- On May 16, 2019, at 1:42 AM, Ravindra Kumar Meena rmeena840 at gmail.com wrote: > Hi LTTng developers, > I have been selected at GSoC 2019 with organization RTEMs. My project is [ > https://devel.rtems.org/ticket/3696 | https://devel.rtems.org/ticket/3696 ] > The objective of the project is to convert the trace data into CTF. The trace > data is already generated by the system. All that is left is to convert the > trace data into CTF. I am interested in CTF because I want to send it to trace > compass for analysis. > Any idea how can I achieve this? If you intend to produce CTF traces natively from the target, you will want to look into the barectf project [1]. However, if your goal is to do a post-processing phase to convert traces from some existing format to CTF, you will want to look into the Babeltrace project [2] master branch which is in preparation for Babeltrace 2.0. The approach here would be to create a Babeltrace 2 source plugin which reads your trace format into the Babeltrace 2 intermediate representation by using the APIs exposed to plugins by Babeltrace 2. Babeltrace 2 has a generic CTF sink which can serialize the resulting trace intermediate representation into CTF. Thanks, Mathieu [1] https://github.com/efficios/barectf [2] https://diamon.org/babeltrace/ > -- > Ravindra Kumar Meena , > B. Tech. Computer Science and Engineering, > [ https://www.iitism.ac.in/ | Indian Institute of Technology (Indian School of > Mines) ] , Dhanbad > _______________________________________________ > lttng-dev mailing list > lttng-dev at lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [lttng-dev] Need help in converting trace data into CTF 2019-05-16 18:52 ` Mathieu Desnoyers @ 2019-05-29 16:19 ` Ravindra Kumar Meena 2019-05-29 16:21 ` Mathieu Desnoyers 0 siblings, 1 reply; 5+ messages in thread From: Ravindra Kumar Meena @ 2019-05-29 16:19 UTC (permalink / raw) On Fri, May 17, 2019 at 12:22 AM Mathieu Desnoyers < mathieu.desnoyers at efficios.com> wrote: > ----- On May 16, 2019, at 1:42 AM, Ravindra Kumar Meena > rmeena840 at gmail.com wrote: > > > Hi LTTng developers, > > I have been selected at GSoC 2019 with organization RTEMs. My project is > [ > > https://devel.rtems.org/ticket/3696 | > https://devel.rtems.org/ticket/3696 ] > > > The objective of the project is to convert the trace data into CTF. The > trace > > data is already generated by the system. All that is left is to convert > the > > trace data into CTF. I am interested in CTF because I want to send it to > trace > > compass for analysis. > > > Any idea how can I achieve this? > > If you intend to produce CTF traces natively from the target, you will > want to > look into the barectf project [1]. > > However, if your goal is to do a post-processing phase to convert traces > from > some existing format to CTF, you will want to look into the Babeltrace > project [2] > master branch which is in preparation for Babeltrace 2.0. The approach here > would be to create a Babeltrace 2 source plugin which reads your trace > format into > the Babeltrace 2 intermediate representation by using the APIs exposed to > plugins by Babeltrace 2. Babeltrace 2 has a generic CTF sink which can > serialize > the resulting trace intermediate representation into CTF. > > Thanks, > > Mathieu > > [1] https://github.com/efficios/barectf > [2] https://diamon.org/babeltrace/ > > Thanks, Mathieu for the approach. I am trying to use the babeltrace and I read its documentation and but I nowhere found the examples of conversion from one format to CTF. The examples would make it more clear. Is it possible to convert the live trace stream into CTF stream with the current babeltrace? Thanks -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) <https://www.iitism.ac.in/>, Dhanbad -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190529/af523350/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [lttng-dev] Need help in converting trace data into CTF 2019-05-29 16:19 ` Ravindra Kumar Meena @ 2019-05-29 16:21 ` Mathieu Desnoyers 2019-05-29 16:28 ` Ravindra Kumar Meena 0 siblings, 1 reply; 5+ messages in thread From: Mathieu Desnoyers @ 2019-05-29 16:21 UTC (permalink / raw) ----- On May 29, 2019, at 12:19 PM, Ravindra Kumar Meena <rmeena840 at gmail.com> wrote: > On Fri, May 17, 2019 at 12:22 AM Mathieu Desnoyers < [ > mailto:mathieu.desnoyers at efficios.com | mathieu.desnoyers at efficios.com ] > > wrote: >> ----- On May 16, 2019, at 1:42 AM, Ravindra Kumar Meena [ >> mailto:rmeena840 at gmail.com | rmeena840 at gmail.com ] wrote: >> > Hi LTTng developers, >> > I have been selected at GSoC 2019 with organization RTEMs. My project is [ >>> [ https://devel.rtems.org/ticket/3696 | https://devel.rtems.org/ticket/3696 ] | >> > [ https://devel.rtems.org/ticket/3696 | https://devel.rtems.org/ticket/3696 ] ] >> > The objective of the project is to convert the trace data into CTF. The trace >> > data is already generated by the system. All that is left is to convert the >> > trace data into CTF. I am interested in CTF because I want to send it to trace >> > compass for analysis. >> > Any idea how can I achieve this? >> If you intend to produce CTF traces natively from the target, you will want to >> look into the barectf project [1]. >> However, if your goal is to do a post-processing phase to convert traces from >> some existing format to CTF, you will want to look into the Babeltrace project >> [2] >> master branch which is in preparation for Babeltrace 2.0. The approach here >> would be to create a Babeltrace 2 source plugin which reads your trace format >> into >> the Babeltrace 2 intermediate representation by using the APIs exposed to >> plugins by Babeltrace 2. Babeltrace 2 has a generic CTF sink which can serialize >> the resulting trace intermediate representation into CTF. >> Thanks, >> Mathieu >> [1] [ https://github.com/efficios/barectf | https://github.com/efficios/barectf >> ] >> [2] [ https://diamon.org/babeltrace/ | https://diamon.org/babeltrace/ ] > Thanks, Mathieu for the approach. I am trying to use the babeltrace and I read > its documentation and but I nowhere found the examples of conversion from one > format to CTF. > The examples would make it more clear. > Is it possible to convert the live trace stream into CTF stream with the current > babeltrace? With babeltrace 1.5.x: No. With babeltrace master branch (currently in -pre stage before 2.0): Yes. Thanks, Mathieu > Thanks > -- > Ravindra Kumar Meena , > B. Tech. Computer Science and Engineering, > [ https://www.iitism.ac.in/ | Indian Institute of Technology (Indian School of > Mines) ] , Dhanbad -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190529/e1cd68dc/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [lttng-dev] Need help in converting trace data into CTF 2019-05-29 16:21 ` Mathieu Desnoyers @ 2019-05-29 16:28 ` Ravindra Kumar Meena 0 siblings, 0 replies; 5+ messages in thread From: Ravindra Kumar Meena @ 2019-05-29 16:28 UTC (permalink / raw) > > With babeltrace 1.5.x: No. > Okay > > > With babeltrace master branch (currently in -pre stage before 2.0): Yes. > Okay. That's great!! Are there examples available on it? Can the conversion be done directly via command-line? Thanks -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) <https://www.iitism.ac.in/>, Dhanbad -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190529/f91973cf/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-05-29 16:28 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-05-16 5:42 [lttng-dev] Need help in converting trace data into CTF Ravindra Kumar Meena 2019-05-16 18:52 ` Mathieu Desnoyers 2019-05-29 16:19 ` Ravindra Kumar Meena 2019-05-29 16:21 ` Mathieu Desnoyers 2019-05-29 16:28 ` Ravindra Kumar Meena
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox