X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.c;fp=src%2Fbin%2Flttng-sessiond%2Fust-app.c;h=cc42e250be41f3a1bf03932c6ab20c6a7452cece;hb=d3dedf27c4a2ce0ea994d90f637eba9ed2f26776;hp=2283f980ae079c53c483f5c9f11e58aa4600b099;hpb=63e5638db6236d902c4ea909fc53e5842e5b71b6;p=deliverable%2Flttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 2283f980a..cc42e250b 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -6360,7 +6360,8 @@ int ust_app_rotate_session(struct ltt_session *session) reg_chan->consumer_key, usess->uid, usess->gid, usess->consumer, pathname, 0, - session->rotate_count); + session->rotate_count, + &session->rotate_pending_relay); if (ret < 0) { goto error; } @@ -6372,7 +6373,8 @@ int ust_app_rotate_session(struct ltt_session *session) reg->registry->reg.ust->metadata_key, usess->uid, usess->gid, usess->consumer, pathname, 1, - session->rotate_count); + session->rotate_count, + &session->rotate_pending_relay); if (ret < 0) { goto error; } @@ -6444,7 +6446,8 @@ int ust_app_rotate_session(struct ltt_session *session) ret = consumer_rotate_channel(socket, ua_chan->key, ua_sess->euid, ua_sess->egid, ua_sess->consumer, pathname, 0, - session->rotate_count); + session->rotate_count, + &session->rotate_pending_relay); if (ret < 0) { goto error; } @@ -6455,7 +6458,8 @@ int ust_app_rotate_session(struct ltt_session *session) ret = consumer_rotate_channel(socket, registry->metadata_key, ua_sess->euid, ua_sess->egid, ua_sess->consumer, pathname, 1, - session->rotate_count); + session->rotate_count, + &session->rotate_pending_relay); if (ret < 0) { goto error; } @@ -6468,7 +6472,7 @@ int ust_app_rotate_session(struct ltt_session *session) } if (nr_app == 0 && nr_channels == 0) { - session->rotate_pending = 0; + session->rotate_pending = false; session->rotate_status = LTTNG_ROTATE_EMPTY; }