Remove babeltrace 1 Python bindings and tests
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 29 Mar 2019 22:18:21 +0000 (18:18 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 18 Apr 2019 20:04:22 +0000 (16:04 -0400)
commit1c81bd8895c03ebf0fff5960a8e18330cba3f1b7
tree6021b0afeca6a951e7f2af03105d8d099c2d16ff
parent196a5c4d86bfebb9865ba5a72f359f8e46ac67fc
Remove babeltrace 1 Python bindings and tests

We previously had the goal of providing the Babeltrace 1 Python API (the
babeltrace module) on top of the Babeltrace 2 Python API (the bt2
module).

It was decided that this is no longer required, those who have scripts
working against the Babeltrace 1 API will have to keep using Babeltrace
1.

A factor that influenced this decision is that it would be difficult to
keep the exact same behavior as Babeltrace 1 had, and therefore
guarantee that scripts will keep working.  For example, CTF headers
(event headers or packet headers) are not accessible in trace-ir.  So if
a script relied on reading some header fields, the best we could do
would be to simulate the value of some well-known header fields.  For
example, it would be possible to simulate the timestamp field of an
event header.  However, things like a packet's content_size and
packet_size would be more difficult.

So instead of putting efforts doing something that works halfway, it was
decided that such scripts would have to keep using Babeltrace 1.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
19 files changed:
bindings/python/Makefile.am
bindings/python/babeltrace/.gitignore [deleted file]
bindings/python/babeltrace/Makefile.am [deleted file]
bindings/python/babeltrace/babeltrace/__init__.py.in [deleted file]
bindings/python/babeltrace/babeltrace/common.py [deleted file]
bindings/python/babeltrace/babeltrace/reader_event.py [deleted file]
bindings/python/babeltrace/babeltrace/reader_trace_handle.py [deleted file]
bindings/python/babeltrace/examples/babeltrace_and_lttng.py [deleted file]
bindings/python/babeltrace/examples/ctf_writer.py [deleted file]
bindings/python/babeltrace/examples/example-api-test.py [deleted file]
bindings/python/babeltrace/examples/sched_switch.py [deleted file]
bindings/python/babeltrace/examples/sequence_test.py [deleted file]
bindings/python/babeltrace/setup.py.in [deleted file]
configure.ac
tests/bindings/python/Makefile.am
tests/bindings/python/babeltrace/Makefile.am [deleted file]
tests/bindings/python/babeltrace/test_reader_event.py [deleted file]
tests/bindings/python/babeltrace/test_reader_field_declaration.py [deleted file]
tests/bindings/python/babeltrace/test_reader_trace_intersection.py [deleted file]
This page took 0.025329 seconds and 5 git commands to generate.