Clarify warning message for events discarded
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 16 Apr 2012 14:33:55 +0000 (10:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 16 Apr 2012 14:33:55 +0000 (10:33 -0400)
Reported-by: Fredrik Oestman <Fredrik_Oestman@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf-text/ctf-text.c
formats/ctf/ctf.c

index 92ad42632ece6049e5153d15325ff47a6ff14695..1d29390c7a1c5a5ed034c31cd0965b728704ca4d 100644 (file)
@@ -249,7 +249,7 @@ int ctf_text_write_event(struct stream_pos *ppos, struct ctf_stream_definition *
                ctf_print_timestamp(stderr, stream, stream->prev_timestamp);
                fprintf(stderr, "] and [");
                ctf_print_timestamp(stderr, stream, stream->prev_timestamp_end);
-               fprintf(stderr, "]. You should consider increasing the buffer size.\n");
+               fprintf(stderr, "]. You should consider recording a new trace with larger buffers or with fewer events enabled.\n");
                fflush(stderr);
                stream->events_discarded = 0;
        }
index 15dd3f1e07ab2691379539a72f6261867b8a3374..bff84fe1df631fe836a7c5379ce3b3098782f8bc 100644 (file)
@@ -650,7 +650,7 @@ void ctf_packet_seek(struct stream_pos *stream_pos, size_t index, int whence)
                                        fprintf(stderr, "] and [");
                                        ctf_print_timestamp(stderr, &file_stream->parent,
                                                        file_stream->parent.prev_timestamp_end);
-                                       fprintf(stderr, "]. You should consider increasing the buffer size.\n");
+                                       fprintf(stderr, "]. You should consider recording a new trace with larger buffers or with fewer events enabled.\n");
                                        fflush(stderr);
                                }
                                file_stream->parent.events_discarded = 0;
This page took 0.035684 seconds and 4 git commands to generate.