I see no new line when the messages are printed from KernelShark. Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@xxxxxxxxx> --- src/trace-seq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trace-seq.c b/src/trace-seq.c index 8d5ecd2..6aee07a 100644 --- a/src/trace-seq.c +++ b/src/trace-seq.c @@ -22,7 +22,7 @@ #define TRACE_SEQ_CHECK(s) \ do { \ if (WARN_ONCE((s)->buffer == TRACE_SEQ_POISON, \ - "Usage of trace_seq after it was destroyed")) \ + "Usage of trace_seq after it was destroyed\n")) \ (s)->state = TRACE_SEQ__BUFFER_POISONED; \ } while (0) @@ -85,7 +85,7 @@ static void expand_buffer(struct trace_seq *s) char *buf; buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); - if (WARN_ONCE(!buf, "Can't allocate trace_seq buffer memory")) { + if (WARN_ONCE(!buf, "Can't allocate trace_seq buffer memory\n")) { s->state = TRACE_SEQ__MEM_ALLOC_FAILED; return; } -- 2.27.0