Rotate timer
authorJulien Desfossez <jdesfossez@efficios.com>
Wed, 20 Dec 2017 20:43:22 +0000 (15:43 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:28 +0000 (12:12 -0400)
commit259c267446a63c501298f39a5d2397314b11f729
tree2ee432f45a19692efa00cb4c335c16d3dcd1666a
parentf5eeb9d734eb6727a2ee04f08e3eedf9827ed66f
Rotate timer

Allow the user to configure a timer to rotate a session periodically.
The user can configure this setting with the API or the new
enable-rotation/disable-rotation commands:
lttng enable-rotation --timer 10s
lttng disable-rotation --timer

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
25 files changed:
include/lttng/lttng-error.h
include/lttng/lttng.h
include/lttng/rotate-internal.h
include/lttng/rotation.h
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/cmd.h
src/bin/lttng-sessiond/main.c
src/bin/lttng-sessiond/rotation-thread.c
src/bin/lttng-sessiond/session.c
src/bin/lttng-sessiond/session.h
src/bin/lttng-sessiond/sessiond-timer.c
src/bin/lttng-sessiond/sessiond-timer.h
src/bin/lttng/Makefile.am
src/bin/lttng/command.h
src/bin/lttng/commands/disable_rotation.c [new file with mode: 0644]
src/bin/lttng/commands/enable_rotation.c [new file with mode: 0644]
src/bin/lttng/lttng.c
src/common/config/config-session-abi.h
src/common/config/session-config.c
src/common/config/session.xsd
src/common/error.c
src/common/mi-lttng.c
src/common/mi-lttng.h
src/common/sessiond-comm/sessiond-comm.h
src/lib/lttng-ctl/rotate.c
This page took 0.029073 seconds and 4 git commands to generate.