Babeltrace python binding
authorDanny Serres <danny.serres@efficios.com>
Fri, 10 Aug 2012 22:10:23 +0000 (18:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Aug 2012 22:10:23 +0000 (18:10 -0400)
commit24a3136a3837ee43162b1393827faa938f0789eb
tree3a462044cdc7c294276f33a688ad3cc2e280e3b3
parent2002e48a9f3f38f95de0b9cd75a6ab1f06580c95
Babeltrace python binding

The Babeltrace Python module can be used to directly control
the Babeltrace API inside Python, using 'import babeltrace'.

Therefore, it becomes possible to create a Context, add a
trace to it, iterate on it, read events and so on from
within Python.

SWIG >= 2.0 is used to create the wrapper and its
'warning md variable unused' bug is patched in Makefile.am

In the interface file, struct and enum are directly copied
from the include files. All changes to struct bt_iter_pos
and to enums in ctf/events.h and clock-types.h  must also
be made in the interface file.

Signed-off-by: Danny Serres <danny.serres@efficios.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
25 files changed:
.gitignore
Makefile.am
README
bindings/Makefile.am [new file with mode: 0644]
bindings/python/Makefile.am [new file with mode: 0644]
bindings/python/babeltrace.i.in [new file with mode: 0644]
bindings/python/examples/babeltrace_and_lttng.py [new file with mode: 0644]
bindings/python/examples/eventcount.py [new file with mode: 0644]
bindings/python/examples/eventcountlist.py [new file with mode: 0644]
bindings/python/examples/events_per_cpu.py [new file with mode: 0644]
bindings/python/examples/example-api-test.py [new file with mode: 0644]
bindings/python/examples/histogram.py [new file with mode: 0644]
bindings/python/examples/output_format_modules/cairoplot.py [new file with mode: 0644]
bindings/python/examples/output_format_modules/pprint_table.py [new file with mode: 0644]
bindings/python/examples/output_format_modules/series.py [new file with mode: 0644]
bindings/python/examples/sched_switch.py [new file with mode: 0644]
bindings/python/examples/softirqtimes.py [new file with mode: 0644]
bindings/python/examples/syscalls_by_pid.py [new file with mode: 0644]
bindings/python/python-complements.c [new file with mode: 0644]
bindings/python/python-complements.h [new file with mode: 0644]
bootstrap
configure.ac
doc/python-howto.txt [new file with mode: 0644]
m4/ax_pkg_swig.m4 [new file with mode: 0644]
tests/tests-python.py [new file with mode: 0644]
This page took 0.027879 seconds and 4 git commands to generate.