babeltrace:stable-1.5

Last commit made on 2020-05-07
Get this branch:
git clone -b stable-1.5 https://git.launchpad.net/babeltrace

Branch merges

Branch information

Name:
stable-1.5
Repository:
lp:babeltrace

Recent commits

64b7b73... by Christophe Bedard on 2020-04-25

bindings: try importing collections.abc first for forward compatibility

Using the babeltrace Python module with Python 3.3-3.8 gives a warning:

/usr/lib/python3/dist-packages/babeltrace/babeltrace.py:811:
DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from 'collections.abc' is deprecated since Python 3.3,
and in 3.9 it will stop working

Therefore, for forward compability (Python 3.9+), try importing it
using the new way first. Otherwise, fall back on the old way.

Signed-off-by: Christophe Bedard <email address hidden>
Change-Id: I7f650593a013643b2fb0b77b0d388cf57bc2b765
Signed-off-by: Jérémie Galarneau <email address hidden>

6cf823f... by Christophe Bedard on 2020-04-25

man: fix typo in babeltrace.1

Signed-off-by: Christophe Bedard <email address hidden>
Change-Id: I1b815d96ca03d2ce30a5c33881b340c9b73e0b9c
Signed-off-by: Jérémie Galarneau <email address hidden>

054a54a... by Jérémie Galarneau <email address hidden> on 2020-02-05

Update version to v1.5.8

Signed-off-by: Jérémie Galarneau <email address hidden>
Change-Id: I1fb3a8cebcba49ca0d4dfd0437380b574c71c39b

c8fd9d1... by Mathieu Desnoyers on 2019-12-05

Fix: lttng-live format: do not error out on empty streams hang up

Attaching to a stream hung up before providing any trace packet
causes ctf_open_mmap_stream_read() to return an error.

This kind of scenario can happen with the upcoming "lttng clear"
feature.

Signed-off-by: Mathieu Desnoyers <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

cab553a... by Mathieu Desnoyers on 2019-12-05

Fix: lttng-live: ctf_live_packet_seek stream hang up handling

When get_next_index sets the index position to EOF,
ctf_live_packet_seek() should in turn set the stream position to EOF
to propagate the hung up state.

Signed-off-by: Mathieu Desnoyers <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

8f0a031... by Mathieu Desnoyers on 2019-12-05

Fix: lib/iterator.c: unbalanced ctx put (leak)

Missing context put in iterator init error path.

Signed-off-by: Mathieu Desnoyers <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

51a19e7... by Mathieu Desnoyers on 2019-12-05

Fix: lttng-live: lttng_live_open_trace_read memory leak

Signed-off-by: Mathieu Desnoyers <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

753d927... by Mathieu Desnoyers on 2019-12-05

Fix: trace-collection: trace clock use after free

The trace collection should copy the trace clock object rather
than take a reference to the first trace's trace clock, because
it may be freed when the trace is removed (e.g. application going
away in per-pid live tracing).

Signed-off-by: Mathieu Desnoyers <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

a4e7565... by Mathieu Desnoyers on 2019-12-05

Fix: lttng-live: use-after-free in get_next_index()

Running babeltrace under valgrind with a test-cases doing per-pid
lttng tracing in live mode triggers this use-after-free in
get_next_index() when stream is hung up.

Signed-off-by: Mathieu Desnoyers <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

ea4c6f4... by Jonathan Rajotte on 2019-07-04

Do not use diagnostic pragma when GCC version is lower than 4.6.0

Signed-off-by: Jonathan Rajotte <email address hidden>
Change-Id: Id17713b2683ea0bbe17388282557d2a75be8f177
Signed-off-by: Jérémie Galarneau <email address hidden>