aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-04-14 23:07:48 -0400
committerSteven Rostedt <rostedt@goodmis.org>2015-04-14 23:07:48 -0400
commitd8d8eeb33dfd7a25c422e0d410967ae533539386 (patch)
tree25aa62259a4088d8971378fa76fbc1f98a938d73
parentaaf7f394da43c51a4ed78b8824123c5947f54aa5 (diff)
downloadtrace-cmd-d8d8eeb33dfd7a25c422e0d410967ae533539386.tar.gz
trace-cmd: It's events lost not bytes lost
Presenting trace-cmd at Linux Collaboration Summit, it was pointed out to me that I had "bytes lost" in the new format as I was saying it was events lost. Fix that. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--trace-record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trace-record.c b/trace-record.c
index 9874a12e..4b5533a5 100644
--- a/trace-record.c
+++ b/trace-record.c
@@ -3435,10 +3435,10 @@ static void add_overrun(int cpu, struct trace_seq *src, struct trace_seq *dst)
trace_seq_printf(dst, "CPU %d:", cpu);
if (overrun)
- trace_seq_printf(dst, " %d bytes lost", overrun);
+ trace_seq_printf(dst, " %d events lost", overrun);
if (commit_overrun)
- trace_seq_printf(dst, " %d bytes lost due to commit overrun",
+ trace_seq_printf(dst, " %d events lost due to commit overrun",
commit_overrun);
trace_seq_putc(dst, '\n');