Custom upgrade: add a unique identifier for per-pid directory and shm path
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 3 Jun 2022 15:34:13 +0000 (11:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 30 Sep 2022 19:12:36 +0000 (15:12 -0400)
commit31b507bcd7b4c436e6be6fbe7eef46a8e6dea008
treeff5ac273f1917137e6d295682c641029005c8765
parent0b6b8118623769187e5c8363672460ce39397316
Custom upgrade: add a unique identifier for per-pid directory and shm path

Since both path uses information that can now be identical for N "apps"
(N lttng-ust instances for a single PID), we need to make sure that they
do not clash.

For now use the ua_session id which is monotonic.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: Ie7aea6c159ffd921d06763f251633441e7ac06d3
src/bin/lttng-sessiond/ust-app.c
tests/regression/tools/metadata/test_ust
tests/utils/utils.sh
This page took 0.029463 seconds and 5 git commands to generate.