Fix: JUL agent connect to user and root sessiond
authorDavid Goulet <dgoulet@efficios.com>
Thu, 27 Feb 2014 15:06:52 +0000 (10:06 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 27 Feb 2014 17:29:49 +0000 (12:29 -0500)
commit9aabed2d5ae3621ff0989cdcec8a726970e04ea6
tree7fae443fde6f83fa31a690bbac59445e2725728c
parentf08bb871203e921da1b0cdce6f9ff88d32a2fb4e
Fix: JUL agent connect to user and root sessiond

In order to achieve such a thing, two tracepoints are used where one is
for the regular user and the other one for root. This is to avoid
duplicating the payload in the user and root traces.

Furthermore, if a root port is found, a new thread is started to handle
the second session daemon.

This is lockstep commit with lttng-tools:
f43f95a9a82e01eed34593260d510bd32e2083ec

Fixes #732

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
liblttng-ust-jul/LTTngUst.c
liblttng-ust-jul/lttng_ust_jul.h
liblttng-ust-jul/org/lttng/ust/jul/LTTngAgent.java
liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java
liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
liblttng-ust-jul/org/lttng/ust/jul/LTTngUst.java
This page took 0.026543 seconds and 4 git commands to generate.