[lttng-dev] GSoC 2013 proposal - Babeltrace python bindings

Xuan Hu huxuan8218528 at gmail.com
Wed Apr 10 01:23:35 EDT 2013

Hi, jgalar.

Thx for your detailed clarification. I will begin with looking throuth the
CTF specification and investigation with the code of bing/python branch.
I have one little question, where can I find the list of libbabeltrace's
public API? And I also failed to find documents tends for developments and
contributors. I think these would be helpful for me to get fimiliar with
our projects. :-)

Wish for your reply.

On Wed, Apr 10, 2013 at 3:37 AM, Jérémie Galarneau <
jeremie.galarneau at efficios.com> wrote:

> Hi Xuan,
> First, thanks for reaching out!
> Basically, the Babeltrace Python bindings project aims at providing Python
> developers with a library to read the trace formats supported by
> Babeltrace. I'll take the chance to detail what we had in mind with this
> project.
> The first part consists of producing Python bindings to libbabeltrace's
> public API. This has already been done last summer but is not yet part of
> the master branch. It currently lives in the "bindings/python" branch of
> Babeltrace's repository[1]. However, it is not completely up-to-date and
> lacks thorough testing.
> The second part, which is more of an interface design exercise, is
> exposing the trace data read by libbabeltrace in a "Pythonic" way. That
> includes implementing Python's generator-iterator interface, expressing the
> trace metadata using Python's data structures, etc. libbabeltrace can also
> be used as a trace writer so the Python interface should expose this
> functionality by providing a symmetric output interface. All in all, it
> calls for a lot more design work than actual implementation.
> For starters, you may want to have a look at the CTF specification[2],
> which is currently the only trace format supported by Babeltrace, to give
> you an idea of the challenges at hand. Trying out the complete LTTng
> toolchain will also give you a better view of this project.
> [1]
> https://bugs.lttng.org/projects/babeltrace/repository/show?rev=bindings%2Fpython
> [2]
> http://git.efficios.com/?p=ctf.git;a=blob_plain;f=common-trace-format-specification.txt;hb=master
> Don't hesitate to come forward and propose a tentative API or ask for
> clarifications.
> Regards,
> Jérémie
> On Tue, Apr 9, 2013 at 5:38 AM, Xuan Hu <huxuan8218528 at gmail.com> wrote:
>> Hello everyone,
>> I'm really interested in the project of `Babeltrace python bindings`.
>> Besides I'm confident with my python skill and I'm willing to study more
>> skills related. As far as I know, I think this is a somewhat standalone
>> project which should create a module for python programmers to get the
>> results which babeltrace produce. Wish potential mentor (jgalar) can judge
>> whether it is or not. Besides I wonder to know any suggestions for me to
>> begin with this project?
>> --
>> 扈煊 Sean.Hu
>> 北京大学信息科学技术学院2012级硕士研究生
>> 2012, Master Degree Candidate, EECS, PKU
>> Blog <http://huxuan.org/> | GitHproposeub <https://github.com/huxuan/> |
>> Twitter <https://twitter.com/huxuan/> | Douban<http://www.douban.com/people/huxuan/>|
>> Google+ <https://plus.google.com/u/0/116930918200210859389> | Jiepang<http://jiepang.com/huxuan/> |
>> Weibo <http://weibo.com/victorhu>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> --
> Jérémie Galarneau
> EfficiOS Inc.
> http://www.efficios.com

扈煊 Sean.Hu

2012, Master Degree Candidate, EECS, PKU

Blog <http://huxuan.org/> | GitHub <https://github.com/huxuan/> |
Douban <http://www.douban.com/people/huxuan/> |
Jiepang <http://jiepang.com/huxuan/> | Weibo <http://weibo.com/victorhu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130410/e40073d0/attachment-0001.html>

More information about the lttng-dev mailing list