]> git.lttng.org Git - lttng-tools.git/commit
Clean-up: sessiond: document ownership of agent
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2024 15:44:52 +0000 (15:44 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2024 17:05:50 +0000 (17:05 +0000)
commit0b320d53361d84bdeee0a9a8fe6b1f7b9e0fbe4d
tree1012df1700546976f86b36281034159e0f43241d
parent80dc2b8e4c1477517080d028ee2fd316f0306c93
Clean-up: sessiond: document ownership of agent

`agent` instances are lazily created at various sites and their
ownership can be confusing for both analysis tools and meat bags.

Document that the ownership of the instance is transferred by the
`agent_add` function.

Change-Id: I709d2908611bdebd88c82261d1e5d5ee3bde3a09
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/channel.cpp
src/bin/lttng-sessiond/cmd.cpp
src/bin/lttng-sessiond/context.cpp
This page took 0.029533 seconds and 4 git commands to generate.