Fix java client connection path when LTTNG_UST_APP_PATH is set
authorKienan Stewart <kstewart@efficios.com>
Tue, 28 Nov 2023 19:39:23 +0000 (14:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Feb 2024 21:20:23 +0000 (16:20 -0500)
commit47fa3e4ed7ab43e034dc61fc1480f919f4ee51d0
treeb7d1479bab80f5e3235eec66e19c539712519fe4
parentc0f6fb054d2f16518d047a6adf7e8aa81eff5403
Fix java client connection path when LTTNG_UST_APP_PATH is set

When LTTNG_UST_CTL_PATH is set for `lttng-sessiond`, the agent port is
at `$LTTNG_UST_CTL_PATH/agent.port`, not
`$LTTNG_UST_CTL_PATH/.lttng/agent.port`.

Change-Id: I79419f36cbd802da06acd68f58e437b0d4eb3856
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/lib/lttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
This page took 0.026711 seconds and 4 git commands to generate.