X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsessiond-timer.h;h=523d87852c53abd935e40918bb12240d530ddd3c;hb=fc58be13f62e691645dd75d56ce26d2e121b13e0;hp=e1b8a7eaded2d0a23ac34dad435611d319d90f19;hpb=d086f507d02078aed618ab291a0bc4a634958fa3;p=lttng-tools.git 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 */