lttng-ust:stable-2.4

Last commit made on 2015-01-26
Get this branch:
git clone -b stable-2.4 https://git.launchpad.net/lttng-ust

Branch merges

Branch information

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

Recent commits

eb6bb10... by Mathieu Desnoyers

Version 2.4.4

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

1572ffb... by Mathieu Desnoyers

Fix: missing parenthesis in offset_align_floor

Is currently unused. Triggers a compile error when used.

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

cec91e3... by Mathieu Desnoyers

Fix: add urcu-bp TLS fixup

When performing a library base address statedump, the UST threads can
grab the RCU read-side lock, which touch a TLS. We should "pre-fault"
this TLS in the constructor to eliminate a deadlock involving libc
dynamic loader lock.

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

f135e0e... by Mathieu Desnoyers

Fix: add missing poll.h include

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

295097e... by Mathieu Desnoyers

Fix: get_subbuf: bound number of consumerd retry

When an application traced with per-UID buffers vanishes between its
reserve and commit ring buffer operations (e.g. segfault), it may cause
the consumer daemon to enter an endless loop, awaiting for the
application to complete its commit.

Fix this situation by bounding the number of retry using an adaptative
approach: try actively for a few times, and then try a few more times
with a 10ms delay between attempts.

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

46dba5e... by Mathieu Desnoyers

Version 2.4.3

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

560753c... by .eepp

Fix: man: you can't link a lib with a static lib

Fixes: #825

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

8895045... by Mathieu Desnoyers

Fix: add missing includes to usterr

Needed for caa_unlikely() used by WARN_ON_ONCE().

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

74233c2... by Mathieu Desnoyers

Fix: context alignment not properly handled

This issue affects only architectures without efficient unaligned
accesses, only when a context field with larger alignment follows a
context field with smaller alignment. It generates unreadable traces
when such context fields are enabled in this configuration.

Fixes #867

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

3ae776d... by Mathieu Desnoyers

Fix: allow tracepoints to build with --std=c99

std=c99 without #define __USE_BSD does not work for tracepoint header,
due to missing endianness macros. Force their definition in the
ust-endian.h wrapper if they are missing.

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