[lttng-dev] babletrace with python bindings

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Sun Jan 13 12:54:30 EST 2013


* David OShea (David.OShea at quantum.com) wrote:
> > -----Original Message-----
> > From: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
> > Sent: Thursday, 20 December 2012 5:10 AM
> > To: ajonwa ajonwa
> > Cc: lttng-dev at lists.lttng.org
> > Subject: Re: [lttng-dev] babletrace with python bindings
> > 
> > * ajonwa ajonwa (ajonwa at gmx.com) wrote:
> > > Hello everyone,
> > >
> > >  I get the following error message while attempting to compile
> > babeltrace with python bindings:
> [...]
> > This branch is currently in development, and might be out of sync with
> > the master branch of babeltrace at the moment. We don't have immediate
> > plans to work on it, but bontributions are welcome.
> 
> Apologies for the late reply.  I just wanted to point out that if you
> check out commit 24a3136a383, it does build.  It's an older version of
> babeltrace, but does work despite some bugs.
> 
> The main bug I recall is that
> iterator.set_pos(babeltrace.IterPos(babeltrace.SEEK_BEGIN)) doesn't
> fail immediately, and works in some traces, but sometimes results in a
> subsequent assertion failure in the Python interpreter after a few
> events have been read, or returns a bogus event at the start of the
> trace.  Quite possibly this is a babeltrace bug that has been fixed
> already. 

Probably by this commit:

commit 08ac0e0801251211279f9deb07f9cbbbd712d9c5
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Fri Nov 9 13:02:59 2012 -0500

    Fix SEEK_BEGIN for streams that do not contain any event
    
    Reported-by: Yannick Brosseau <yannick.brosseau at gmail.com>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Thanks,

Mathieu


> 
> Regards,
> David
> 
> ----------------------------------------------------------------------
> The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list