aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-10-13 15:09:31 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-10-13 15:09:31 -0400
commit361d4f6cb71c2cc7a0c379c62d3da96c42d6f445 (patch)
tree1b0a9cf910eb3c9c5da5206332cd7098dfca51b1
parentf807f1b91f9e4e2e85858d41350b519c17c02ce1 (diff)
clean up the latency format code to include more info
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--parse-events.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/parse-events.c b/parse-events.c
index 8c4fe39..9b4960f 100644
--- a/parse-events.c
+++ b/parse-events.c
@@ -2875,12 +2875,10 @@ void print_event(int cpu, void *data, int size, unsigned long long nsecs)
2875 printf("%8.8s-%-5d %3d", 2875 printf("%8.8s-%-5d %3d",
2876 comm, pid, cpu); 2876 comm, pid, cpu);
2877 print_lat_fmt(data, size); 2877 print_lat_fmt(data, size);
2878 printf(" ");
2879 } else 2878 } else
2880 printf("%16s-%-5d [%03d] %5lu.%06lu: %s: ", 2879 printf("%16s-%-5d [%03d]", comm, pid, cpu);
2881 comm, pid, cpu,
2882 secs, usecs, event->name);
2883 2880
2881 printf(" %5lu.%06lu: %s: ", secs, usecs, event->name);
2884 2882
2885 if (event->flags & EVENT_FL_FAILED) { 2883 if (event->flags & EVENT_FL_FAILED) {
2886 printf("EVENT '%s' FAILED TO PARSE\n", 2884 printf("EVENT '%s' FAILED TO PARSE\n",