lttng-tools:stable-2.2

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

Branch merges

Branch information

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

Recent commits

ccd8160... by David Goulet

Update version to v2.2.6

Signed-off-by: David Goulet <email address hidden>

71aa3e9... by David Goulet

Fix: remove break in epoll loop of apps. thread

In *heavy* stress test with a large number of applications (> 7000 a
second), the manage application thread could starve the delete process
by breaking just after adding an application to the poll set.

Also, we've observed that somehow the application unregister process is
not done on most of the application by breaking the loop at each delete
from the poll set. We are still uncertain why but one theory is that
epoll detects that an I/O operation is ready (here a shutdown) and an
other subsystem of the session daemon uses that socket for I/O which
flags the poll event as "has been taken care of" thus the loop never
sees it because of that break.

The notify socket thread does not use a break between poll operation
which leads us to that conclusion with the manage apps thread.

We don't use epoll with edge-trigger thus a POLLERR/POLLHUP should
always be return as long as it's not taken care of.

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

d7f3342... by David Goulet

Fix: remove bad code from previous backport patch

Signed-off-by: David Goulet <email address hidden>

151b126... by David Goulet

Fix: bad logical check of error codes

Fixes #701

Signed-off-by: David Goulet <email address hidden>

9833e43... by David Goulet

Fix: resource leak in enable-event command

Fix coverity issue 1129187.

Signed-off-by: David Goulet <email address hidden>

35700c8... by David Goulet

Fix: unchecked return value in ust app delete

Fix coverity issue 1132897.

Signed-off-by: David Goulet <email address hidden>

f3bca18... by David Goulet

Fix: dereference after null check in UST registry

Fix coverity issue 1132896.

Signed-off-by: David Goulet <email address hidden>

721e5cc... by David Goulet

Fix: Resource leak in ust registry

Fix coverity issue 1019918.

Signed-off-by: David Goulet <email address hidden>

843f77d... by David Goulet

Fix: backported from urcu commit 92af1a30

commit 92af1a30ca6a70945b167c31631c8598a626c71a
Author: Mathieu Desnoyers <email address hidden>
Date: Thu Nov 28 18:41:13 2013 +0100

    Fix undefined NULL pointer arithmetic

    Clang 3.3 with -O2 optimisations is especially picky about arithmetic
    on NULL pointers. This undefined behavior is turned into optimized out
    NULL checks by clang 3.3. Fix the undefined behavior by checking against
    the pointer directly, without going back and forth around NULL with
    pointer arithmetic.

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

Signed-off-by: David Goulet <email address hidden>

cc46b95... by David Goulet

Fix: add missing values for a backported fix

Signed-off-by: David Goulet <email address hidden>