projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement rotation ongoing/completed commands
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.c
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index 6262750866db73d16f193ebe00e7c34475a1e3c7..1041b9f1a106d4090fff9d7422f2ea96d0b8333f 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-4560,6
+4560,13
@@
int cmd_rotate_session(struct ltt_session *session,
session->current_archive_id++;
session->rotate_pending = true;
session->rotation_state = LTTNG_ROTATION_STATE_ONGOING;
session->current_archive_id++;
session->rotate_pending = true;
session->rotation_state = LTTNG_ROTATION_STATE_ONGOING;
+ ret = notification_thread_command_session_rotation_ongoing(
+ notification_thread_handle,
+ session->name, session->current_archive_id);
+ if (ret) {
+ ret = LTTNG_ERR_UNK;
+ goto end;
+ }
/*
* Create the path name for the next chunk.
/*
* Create the path name for the next chunk.
This page took
0.024647 seconds
and
5
git commands to generate.