[lttng-dev] [Babeltrace][RFC Patch][1/1] Add bt_ctf_get_decl_event_id() to obtain the event ID from the declaration

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Apr 8 12:25:44 EDT 2014


Merged with some minor changes.

Thanks!
Jérémie

On Tue, Apr 8, 2014 at 9:02 AM, Amit Margalit <AMITM at il.ibm.com> wrote:
> Hello all,
>
> This patch adds an API to obtain the event ID given a bt_ctf_event_decl
> pointer. This is useful after using bt_ctf_get_event_decl_list() to obtain
> the list of events that exist in a trace that was just opened.
>
> I have tried to make relevant additions to babeltrace.i.in in the Python
> bindings, as best I could, but have not tested these because I am not using
> the Python bindings anymore.
>
>
>
> Amit Margalit
> IBM XIV - Storage Reinvented
> XIV-NAS Development Team
> Tel. 03-689-7774
> Fax. 03-689-7230
> _______________________________________________
> 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



More information about the lttng-dev mailing list