babeltrace:stable-1.3

Last commit made on 2016-06-06
Get this branch:
git clone -b stable-1.3 https://git.launchpad.net/babeltrace

Branch merges

Branch information

Name:
stable-1.3
Repository:
lp:babeltrace

Recent commits

4723214... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Update version to v1.3.3

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

6d5b234... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Fix: undefined bit shift operation when printing octal numbers

Reported by Coverity as:
CID 1355338 (#1 of 1): Bad bit shift operation (BAD_SHIFT)

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

29435c3... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Docs: change --clock-raw to --clock-cycles

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

5016ab1... by Mathieu Desnoyers

Fix: segmentation fault with multi-trace having non-correlated clocks

This bugfix is extracted from commit

commit 61cf588beae752e5ddfc60b6b5310f769ac9e852
Author: Mathieu Desnoyers <email address hidden>
Date: Tue Feb 9 13:27:24 2016 -0500

    Handle negative time and offset from Epoch

Which was fixing this issue, amongst other things.

[ This fix should be applied to Babeltrace stable 1.3 and 1.4 only. ]

[ This v2 patch removes error checking that was introduced in v1. Since
  the callees don't distinguish between -ENOENT and -EINVAL errors,
  we don't know if we need to error out or not. Keep the original
  1.x behavior (no error checking). ]

Fixes: #790

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

fab5d96... by Mathieu Desnoyers

Fix: ctf-text: signed base 8, 16 printout

Base 16 signed integer printout is buggy for 64-bit length: a shift of
64-bit is undefined.

Change printout of base 8 signed integer to match what is done for
base 16.

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

84db7bd... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Fix: respect signed integers' length when printing in hex base

Make sure we don't print a full 64-bit sign-extended value
when printing a negative integer in hexadecimal base.

Fixes #848

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

adec602... by Antoine Busque <email address hidden>

Fix: return event timestamp in _timestamp_at_pos

Signed-off-by: Antoine Busque <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

857eaa6... by Mathieu Desnoyers

Fix: lttng-live flush when output to file

When the standard output is redirected to a file, we need to flush the
output between each packet, otherwise the stream buffering may keep us
from seeing events for a while in a low-throughput trace.

While we are there, document that lttng-live does now support the
--output option in babeltrace 1.x.

Fixes #1010

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

9b6ae25... by Mathieu Desnoyers

Fix: lttng-live use g_free rather than free

g_new0 should be paired with g_free.

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

e11a3d2... by Julien Desfossez <email address hidden>

Fix: lttng-live data_size and version endianness

The data_size and cmd_version fields need to be sent in network byte
order to the relay. These fields are currently ignored by the relay
because the commands have a fix-sized payload so it does not cause any
problem for now, but they may be used in the future, so we should avoid
any confusion.

Signed-off-by: Julien Desfossez <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>