lttng-ust:stable-2.5

Last commit made on 2015-09-24
Get this branch:
git clone -b stable-2.5 https://git.launchpad.net/lttng-ust

Branch merges

Branch information

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

Recent commits

1eced8c... by Mathieu Desnoyers on 2015-09-24

Version 2.5.7

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

ebd4c25... by Mathieu Desnoyers on 2015-09-21

Fix: don't dereference NULL pointers

Detected by scan-build.

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

9f8140b... by Mathieu Desnoyers on 2015-09-21

Cleanup: Remove unused values

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

6bf7f09... by Mathieu Desnoyers on 2015-09-21

Fix: Value stored to 'has_waited' is never read

Reported by scan-build.

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

35a1c89... by Mathieu Desnoyers on 2015-09-21

Fix: Argument with 'nonnull' attribute passed null

Reported by scan-build
API Argument with 'nonnull' attribute passed null libringbuffer
/ring_buffer_backend.c 380
API Argument with 'nonnull' attribute passed null libringbuffer
/ring_buffer_backend.c 420

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

355e3ac... by Mathieu Desnoyers on 2015-09-21

Fix: sysconf() unchecked return value

Fix Coverity bug:

CID 1021259 (#1 of 1): Improper use of negative value
(NEGATIVE_RETURNS)5. negative_returns: sysconf(_SC_PAGESIZE) is passed
to a parameter that cannot be negative.

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

4adaf46... by Mathieu Desnoyers on 2015-09-09

Version 2.5.6

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

7d60854... by Mathieu Desnoyers on 2015-08-26

Fix: close socket on protocol error, sendmsg MSG_NOSIGNAL

Don't try to keep interacting with sessiond when a protocol error is
detected at the UST application side: this means we cannot trust the
protocol anymore, so there is no reason for keeping the socket open.
For instance, if the application is exiting and we receive a new stream,
we're effectively not reading the stream data, and we return an error.
Unfortunately, the session daemon may try to send us another command,
but we will try interpreting the stream data as a command, which is
invalid.

Also, use MSG_NOSIGNAL flag in the fds recvmsg, so the session daemon
don't get killed with SIGPIPE when it cannot send to the socket due to
connection closed.

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

28ae8cd... by Mathieu Desnoyers on 2015-08-21

Fix: add missing ust lock around objd_table_destroy()

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

3beaf00... by Mathieu Desnoyers on 2015-08-17

Fix: application exit race with pthread cancel

Listener threads can be cancelled with ust lock held, which can hang the
following ust cleanup routine, because tracepoint probe unregister needs
to take the ust lock.

Fix this by disabling pthread cancellation for the entire duration of
the ust lock.

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