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, 5 Sep 2019 20:39:13 +0000 (16:39 -0400)
commit65ff8ea370bee80098fe06e4a513d7a4228c63d3
treefa76cd97c16568b5626cb701c61d988b4b2ed904
parentaa7ad01746bce973e4855951ab472ac010f19ccc
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.027057 seconds and 4 git commands to generate.