From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Sun, 13 Jan 2013 12:54:30 -0500 Subject: [lttng-dev] babletrace with python bindings In-Reply-To: <20998D40D9A2B7499CA5A3A2666CB1EB19F8ABF4@ZURMSG1.QUANTUM.com> References: <20121218184045.288000@gmx.com> <20121219183932.GA9587@Krystal> <20998D40D9A2B7499CA5A3A2666CB1EB19F8ABF4@ZURMSG1.QUANTUM.com> Message-ID: <20130113175430.GA3702@Krystal> * David OShea (David.OShea at quantum.com) wrote: > > -----Original Message----- > > From: Mathieu Desnoyers [mailto:mathieu.desnoyers@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 Date: Fri Nov 9 13:02:59 2012 -0500 Fix SEEK_BEGIN for streams that do not contain any event Reported-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers 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