refactor: session: provide an iterator over consumer data channel keys
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2024 21:50:04 +0000 (21:50 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Jul 2024 16:49:14 +0000 (12:49 -0400)
commit16d6497789d2c497820eb6b0e1db030a74115aa3
treeb1cba8f6147415044441641c3311703ffa800759
parent7d35269bae38feb128e696ef0501dccb257e70c0
refactor: session: provide an iterator over consumer data channel keys

The code iterating over the various data channel keys of the userspace domain is
relatively complex and repeated in many places. It is refactored to provide an
iterator that can be used in those various places.

Change-Id: I560484f63757b5da0313dd651724bbea9bbd6867
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
25 files changed:
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/buffer-registry.hpp
src/bin/lttng-sessiond/client.cpp
src/bin/lttng-sessiond/cmd.cpp
src/bin/lttng-sessiond/main.cpp
src/bin/lttng-sessiond/rotation-thread.cpp
src/bin/lttng-sessiond/save.cpp
src/bin/lttng-sessiond/session.cpp
src/bin/lttng-sessiond/session.hpp
src/bin/lttng-sessiond/ust-app.cpp
src/bin/lttng-sessiond/ust-app.hpp
src/bin/lttng-sessiond/ust-consumer.hpp
src/bin/lttng-sessiond/ust-field-convert.cpp
src/bin/lttng-sessiond/ust-field-convert.hpp [deleted file]
src/bin/lttng-sessiond/ust-field-quirks.hpp [new file with mode: 0644]
src/bin/lttng-sessiond/ust-registry-session.cpp
src/bin/lttng-sessiond/ust-registry-session.hpp
src/bin/lttng-sessiond/ust-registry.hpp
src/bin/lttng-sessiond/utils.hpp
src/common/Makefile.am
src/common/ctl/format.hpp [new file with mode: 0644]
src/common/exception.cpp
src/common/exception.hpp
src/common/reference.hpp
tests/unit/test_session.cpp
This page took 0.027244 seconds and 4 git commands to generate.