[lttng-dev] Babeltrace Patch

Nesrine Zouari nesrine.zouari at enis.tn
Thu Apr 12 04:48:16 EDT 2018


Thank you for your response Geneviève.

I have already tried Tracecompass and lttng-scope and they match exactly my
project use case.

But as I said in the beginning, I am working on my *graduation project* and
I have to develop *client/server applications communicating through TCP
socket (in C language).*

This is a short description of my project requirements:
My project is divided into two parts:

*      1)* Collecting traces from Qemu (It is already an instrumented user
space application).

*       2)* Sending the collected traces to a third-party tool for analysis.

* Qemu, LTTng demons and my server application are running on the same
Linux machine.

* The client application is running on a remote WINDOWS machine.
   Client is able now to control the trace remotely (start and stop) and
get the trace collected in a text file.


*This is what I am trying to do right now:*

Instead of writing the traces to a text file, I would like to send those
traces over TCP to my client application.
So I think that the problem now is* how to make Babeltrace convert CTF
traces and send them to my client application through TCP.*

I would be grateful if you will give me some hints or another idea to
satisfy my project requirements.

Best regards,


‌

On Wed, Apr 11, 2018 at 4:37 PM, Geneviève Bastien <gbastien at versatic.net>
wrote:

> Hi Nesrine,
>
>
> I don't know about babeltrace over TCP/IP. But there are tools to read
> lttng traces on Windows: Trace Compass [1] can read and analyse a trace
> with all kind of data driven analyzes. It can also control a tracing
> session [2] and bring the trace on your windows machine. There's also
> lttng-scope that reads CTF traces on Windows [3].
>
> [1] http://tracecompass.org
> [2] http://archive.eclipse.org/tracecompass/doc/stable/org.
> eclipse.tracecompass.doc.user/LTTng-Tracer-Control.html#
> LTTng_Tracer_Control
> [3] https://lttng.org/beta/
>
> Cheers,
>
> Geneviève
>
>
>
> On 2018-04-11 08:11 AM, Nesrine Zouari wrote:
>
> Hello,
>
> I am computer engineering student and I am actually working on my
> graduation project which is about Qemu Trace.
>
> In this project, Qemu is considered as a user-space instrumented
> application.
>
> I have used:
>
> 1) LTTng-Tools to control Qemu trace.
>
> 2) Babeltrace to convert the CTF traces to a human readable text.
>
> Now, I aim to develop a patch to the Babeltrace. Instead of printing the
> traces on the console or in a file, I would like to send the traces over
> TCP/IP to a third-party tool for processing.
> My third-party tool is installed on a windows machine. For this reason,
> the use of LTTng relay daemon will not be a good solution.
>
> My question is the following:
>
> To which file (of the Babeltrace source code) should I make changes to
> answer my use case?
>
> Best regards,
>
> ------------------------------------------------------------
> -----------------------------
>
> Nesrine ZOUARI
> Computer Engineering Student
> Department of Computer Engineering and Applied Mathematics
> National Engineering School of Sfax (ENIS)
> University of Sfax-Tunisia
> Tel: +216 52 620 475
>
>
>>
>
> _______________________________________________
> lttng-dev mailing listlttng-dev at lists.lttng.orghttps://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>


-- 
-----------------------------------------------------------------------------------------

Nesrine ZOUARI
Computer Engineering Student
Department of Computer Engineering and Applied Mathematics
National Engineering School of Sfax (ENIS)
University of Sfax-Tunisia
Tel: +216 52 620 475
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20180412/cb6dca45/attachment-0001.html>


More information about the lttng-dev mailing list