Cleanup: remove duplicated code in snapshot record command
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 22 May 2019 20:28:39 +0000 (16:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Jul 2019 19:45:26 +0000 (15:45 -0400)
commitfb9a95c4d6242bd8336b638c90a7d8f846125659
tree6a67b4387f452644d41982247b7120f1767fbc61
parentf3bc9b69786b16160da9c7f2650e1199e55529b6
Cleanup: remove duplicated code in snapshot record command

The session daemon's snapshot record command contains duplicated
code depending on the configuration of the snapshot output. This
makes it harder to modify the code in a follow-up commit.

Those code paths are made const-correct by the same occasion.

No behaviour change is intended.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/consumer.c
src/bin/lttng-sessiond/consumer.h
src/bin/lttng-sessiond/kernel.c
src/bin/lttng-sessiond/kernel.h
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-app.h
src/common/hashtable/hashtable.c
src/common/hashtable/hashtable.h
src/common/relayd/relayd.c
src/common/relayd/relayd.h
This page took 0.027298 seconds and 5 git commands to generate.