lttng-ust:stable-2.2

Last commit made on 2014-02-28
Get this branch:
git clone -b stable-2.2 https://git.launchpad.net/lttng-ust

Branch merges

Branch information

Name:
stable-2.2
Repository:
lp:lttng-ust

Recent commits

070ffa4... by Mathieu Desnoyers on 2014-02-28

Version 2.2.3

Signed-off-by: Mathieu Desnoyers <email address hidden>

1584cac... by Mathieu Desnoyers on 2014-02-07

Fix: FD leak in liblttng-ust-ctl

Make sure wait/wakeup stream and channel FDs are closed at teardown.
This led to FD leaks on the consumer daemon when the relay daemon
disconnects unexpectedly.

Signed-off-by: Mathieu Desnoyers <email address hidden>

f251b4c... by Mathieu Desnoyers on 2014-02-05

Fix: liblttng-ust-fork Makefile flags mismatch

Signed-off-by: Mathieu Desnoyers <email address hidden>

cc2ba91... by Mathieu Desnoyers on 2014-02-03

Fix: C++: incomplete extern C guard transition

Recently, commits to fix SDT issues with extern C
(https://bugs.lttng.org/issues/597) brougt in compile errors when the
tracepoint is defined in the same file where the tracepoint provider is
created.

This was due to the presence of extern C guards in tracepoint-event.h, a
header dedicated to tracepoint probe provider compilation. After commits
"Tracepoint probes don't need extern C", it should have gone away. This
is the main fix done by this patch.

This patch also adds missing extern C guards in ust-error.h and
ust-events.h.

Signed-off-by: Mathieu Desnoyers <email address hidden>

cbfb3b3... by Mathieu Desnoyers on 2014-01-14

Cleanup gen-tp: add quotes around AM_CC

Would deal with spaces in the env. var. if there are any. It does not
seem to be important in practice (currently), because automake seems to
fail on CC including spaces at configure time.

Signed-off-by: Mathieu Desnoyers <email address hidden>

0728d30... by Jérémie Galarneau <email address hidden> on 2014-01-10

Pass the CC variable to the example Makefiles

Cross-compilation fails when using the --host configure option
since the cross-compiler is not invoked by the hand-made Makefiles
in doc/examples.

The CC variable must be passed explicitly to ensure the host's
default compiler is not invoked.

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

acc6a83... by Mathieu Desnoyers on 2013-08-26

doc/examples/gen-tp: pass automake CPPFLAGS/CFLAGS/LDFLAGS

Fix cross-build.

Signed-off-by: Mathieu Desnoyers <email address hidden>

c84d987... by Mathieu Desnoyers on 2013-11-15

doc/examples: error out when a subdir make fails

Signed-off-by: Mathieu Desnoyers <email address hidden>

54f59b3... by Mathieu Desnoyers on 2013-12-11

Fix: check deliver now takes tsc argument

Extra call site in stable-2.2 not handled by
"Fix: eliminate timestamp overlap between packets"

Signed-off-by: Mathieu Desnoyers <email address hidden>

969771a... by Mathieu Desnoyers on 2013-11-24

Fix: eliminate timestamp overlap between packets

By using the timestamp sampled at space reservation when the packet is
being filled as "end timestamp" for a packet, we can ensure there is no
overlap between packet timestamp ranges, so that packet timestamp end <=
following packets timestamp begin.

Overlap between consecutive packets becomes an issue when the end
timestamp of a packet is greater than the end timestamp of a following
packet, IOW a packet completely contains the timestamp range of a
following packet. This kind of situation does not allow trace viewers
to do binary search within the packet timestamps. This kind of situation
will typically never occur if packets are significantly larger than
event size, but this fix ensures it can never even theoretically happen.

The only case where packets can still theoretically overlap is if they
have equal begin and end timestamps, which is valid.

Signed-off-by: Mathieu Desnoyers <email address hidden>