[lttng-dev] [PATCH babeltrace] Add bt_unregister_format function support

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Jul 8 19:42:14 EDT 2013


* Xiaona Han (xiaonahappy13 at 163.com) wrote:

merged into bindings/python.

Please add your Signed-off-by line next time.

Thanks,

Mathieu

> ---
>  bindings/python/babeltrace.i.in |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/bindings/python/babeltrace.i.in b/bindings/python/babeltrace.i.in
> index 06b8d40..dd2dacc 100644
> --- a/bindings/python/babeltrace.i.in
> +++ b/bindings/python/babeltrace.i.in
> @@ -188,10 +188,12 @@ class Context:
>  %rename("lookup_format") bt_lookup_format(bt_intern_str qname);
>  %rename("_bt_print_format_list") bt_fprintf_format_list(FILE *fp);
>  %rename("register_format") bt_register_format(struct format *format);
> +%rename("unregister_format") bt_unregister_format(struct bt_format *format);
>  
>  extern struct format *bt_lookup_format(bt_intern_str qname);
>  extern void bt_fprintf_format_list(FILE *fp);
>  extern int bt_register_format(struct bt_format *format);
> +extern void bt_unregister_format(struct bt_format *format);
>  
>  %pythoncode %{
>  
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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



More information about the lttng-dev mailing list