Create stream files relative to a stream's current trace chunk
[lttng-tools.git] / src / bin / lttng / commands / rotate.c
index 312bbba9ccbf982a9f1a9ff65e592365ea276f3f..e2a4c509ae6464ce04cd6c182fd789a9d02692d1 100644 (file)
@@ -193,6 +193,7 @@ static int rotate_tracing(char *session_name)
                rotation_status = lttng_rotation_handle_get_state(handle,
                                &rotation_state);
                if (rotation_status != LTTNG_ROTATION_STATUS_OK) {
+                       MSG("");
                        ERR("Failed to query the state of the rotation.");
                        goto error;
                }
@@ -200,14 +201,14 @@ static int rotate_tracing(char *session_name)
                if (rotation_state == LTTNG_ROTATION_STATE_ONGOING) {
                        ret = usleep(DEFAULT_DATA_AVAILABILITY_WAIT_TIME);
                        if (ret) {
-                               PERROR("usleep");
+                               PERROR("\nusleep");
                                goto error;
                        }
                        _MSG(".");
 
                        ret = fflush(stdout);
                        if (ret) {
-                               PERROR("fflush");
+                               PERROR("\nfflush");
                                goto error;
                        }
                }
This page took 0.023362 seconds and 4 git commands to generate.