X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsessiond-timer.h;h=523d87852c53abd935e40918bb12240d530ddd3c;hp=e1b8a7eaded2d0a23ac34dad435611d319d90f19;hb=d9f0c7c7ce520c309f8e7148ecaff9aacbe52b55;hpb=d086f507d02078aed618ab291a0bc4a634958fa3 diff --git a/src/bin/lttng-sessiond/sessiond-timer.h b/src/bin/lttng-sessiond/sessiond-timer.h index e1b8a7ead..523d87852 100644 --- a/src/bin/lttng-sessiond/sessiond-timer.h +++ b/src/bin/lttng-sessiond/sessiond-timer.h @@ -24,6 +24,8 @@ #define LTTNG_SESSIOND_SIG_TEARDOWN SIGRTMIN + 10 #define LTTNG_SESSIOND_SIG_EXIT SIGRTMIN + 11 +#define LTTNG_SESSIOND_SIG_ROTATE_PENDING SIGRTMIN + 12 +#define LTTNG_SESSIOND_SIG_ROTATE_TIMER SIGRTMIN + 13 #define CLOCKID CLOCK_MONOTONIC @@ -54,4 +56,12 @@ struct sessiond_rotation_timer { void *sessiond_timer_thread(void *data); int sessiond_timer_signal_init(void); +int sessiond_timer_rotate_pending_start(struct ltt_session *session, + unsigned int interval_us); +int sessiond_timer_rotate_pending_stop(struct ltt_session *session); + +int sessiond_rotate_timer_start(struct ltt_session *session, + unsigned int interval_us); +int sessiond_rotate_timer_stop(struct ltt_session *session); + #endif /* SESSIOND_TIMER_H */