[lttng-dev] Babeltrace, Python3, and the Event Declarations

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Mon Jul 25 18:39:16 UTC 2016


-----Message d'origine-----
Date: Wed, 20 Jul 2016 13:19:55 -0400
From: Philippe Proulx <eeppeliteloop at gmail.com>

>>    I'm tinkering with the Python 3 bindings for babeltrace, and I've come upon an odd feature: for a given trace, if I ask for the EventDeclarations (using the TraceHandle), I end up getting the set of event declarations duplicated as many times as there are channels. And I mean exact duplicates.
>>
>>    It's understandable that event declarations may recur between traces part of a single collection, but within a single trace?  And between channels?

But is it a bug?  Looking at my saved session definition (session_name.lttng file), I see the event declarations are subordinate to the channels, just like context.  It seems a bug that an event declaration that I've assigned to one channel —and one channel only— should be reported by every single channel.

Daniel U. Thibault, M.Sc.²

Informaticien scientifique, CME-PSC, Centre de recherches de Valcartier
Recherche et développement pour la défense Canada / Gouvernement du Canada
daniel.thibault at drdc-rddc.gc.ca / Tél: 418-844-4000x4245 Téléc: 418-844-4538
daniel.thibault at forces.gc.ca / Tél: 418-844-4000x4245 Téléc: 418-844-4538

Computer Scientist, MCCS-SPC, Valcartier Research Centre 
Defence Research and Development Canada / Government of Canada
daniel.thibault at drdc-rddc.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538
daniel.thibault at forces.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538

DRDC is an agency of the Department of National Defence / RDDC est une agence du ministère de la Défense nationale


More information about the lttng-dev mailing list