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

Xiaona Han xiaonahappy13 at 163.com
Tue Jul 9 02:50:22 EDT 2013


---
 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




More information about the lttng-dev mailing list