Ftrace plugin for Babeltrace2
Hi everyone,
My name is Philippe and I am an intern at EfficiOs for the summer. This email is
to inform you about my summer project, ask for recommendations and your opinion.
My project will consist of implementing a Babeltrace2 [1] plugin to be able to consume
ftrace traces. The plugin will act as a source component in the babeltrace2 graph system.
I was wondering if you can give me your first thoughts about this project, and
any advice on where to find information to begin with, since I am new to ftrace.
I have already read the doc [2][3][4], but I was wondering if there are more resources
that could help me with my work.
Also, I was wondering which version of libtraceevent I should use. The one in the kernel,
or the one in the trace-cmd repo? My guess would be to take the one in trace-cmd since
there are more recent commits, but I am asking just to make sure.
The major focus of the project will be to match ftrace concepts to babeltrace 2
internal representation.
[2] https://github.com/torvalds/linux/tree/master/tools/lib/traceevent/Documentation
[3] https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/tree/Documentation
[4] https://www.kernel.org/doc/Documentation/trace/ftrace.txt
Thank you,
Philippe
Quoted 4 lines · On Mon, 1 Jun 2020 12:45:10 -0400 (EDT) Philippe Duplessis-Guindon…
Hi everyone,
My name is Philippe and I am an intern at EfficiOs for the summer. This email is
Hi Philippe!
I believe we met before. Correct me if I'm wrong.
Quoted 7 lines
to inform you about my summer project, ask for recommendations and your opinion.
My project will consist of implementing a Babeltrace2 [1] plugin to be able to consume
ftrace traces. The plugin will act as a source component in the babeltrace2 graph system.
This is awesome!
Quoted 8 lines
I was wondering if you can give me your first thoughts about this project, and
any advice on where to find information to begin with, since I am new to ftrace.
I have already read the doc [2][3][4], but I was wondering if there are more resources
Quoted 8 lines
that could help me with my work.
Also, I was wondering which version of libtraceevent I should use. The one in the kernel,
or the one in the trace-cmd repo? My guess would be to take the one in trace-cmd since
there are more recent commits, but I am asking just to make sure.
Well it shouldn't matter, as I try to keep the two insync, but because of the current environment (COVID-19 and all), I've been falling behind.
There's talk in moving it out of both the kernel and trace-cmd and make libtraceevent a stand alone library. But that will take some coordination.
Quoted 7 lines
The major focus of the project will be to match ftrace concepts to babeltrace 2
internal representation.
Quoted 8 lines
[2] https://github.com/torvalds/linux/tree/master/tools/lib/traceevent/Documentation
[3] https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/tree/Documentation
[4] https://www.kernel.org/doc/Documentation/trace/ftrace.txt
Ideally, we would like to get KernelShark to use babeltrace as well, to increase what it can read.
Thanks for reaching out. If there's anything else you need, please feel free to ask.
-- Steve
From: "Steven Rostedt" <[email protected]>
To: "Philippe Duplessis-Guindon" <[email protected]>
Cc: "linux-trace-devel" <[email protected]>
Sent: Monday, June 1, 2020 2:36:43 PM
Subject: Re: Ftrace plugin for Babeltrace2
Quoted 8 lines · On Mon, 1 Jun 2020 12:45:10 -0400 (EDT) Philippe Duplessis-Guindon…
Quoted 4 lines
Hi everyone,
My name is Philippe and I am an intern at EfficiOs for the summer. This email is
Hi Philippe!
I believe we met before. Correct me if I'm wrong.
You must be mistaking me with the other Philippe at EfficiOs. I am an intern who started last month!
Quoted 21 lines
Quoted 7 lines
to inform you about my summer project, ask for recommendations and your opinion.
My project will consist of implementing a Babeltrace2 [1] plugin to be able to consume
ftrace traces. The plugin will act as a source component in the babeltrace2 graph system.
This is awesome!
Quoted 11 lines
I was wondering if you can give me your first thoughts about this project, and
any advice on where to find information to begin with, since I am new to ftrace.
I have already read the doc [2][3][4], but I was wondering if there are more resources
that could help me with my work.
Quoted 8 lines
Quoted 5 lines
Also, I was wondering which version of libtraceevent I should use. The one in the kernel,
or the one in the trace-cmd repo? My guess would be to take the one in trace-cmd since
there are more recent commits, but I am asking just to make sure.
Well it shouldn't matter, as I try to keep the two insync, but because of the current environment (COVID-19 and all), I've been falling behind.
Perfect!
Quoted 3 lines
There's talk in moving it out of both the kernel and trace-cmd and make libtraceevent a stand alone library. But that will take some coordination.
That would be great!
Quoted 11 lines
Quoted 11 lines
The major focus of the project will be to match ftrace concepts to babeltrace 2
internal representation.
[2] https://github.com/torvalds/linux/tree/master/tools/lib/traceevent/Documentation
Quoted 8 lines
Quoted 4 lines
[3] https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/tree/Documentation
[4] https://www.kernel.org/doc/Documentation/trace/ftrace.txt
Ideally, we would like to get KernelShark to use babeltrace as well, to increase what it can read.
Sounds good, I'll have this in mind while implementing my plugin.
Quoted 2 lines
Thanks for reaching out. If there's anything else you need, please feel free to ask.
Thank you,
Philippe