diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-03-25 05:18:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-31 11:26:47 -0400 |
commit | 6c051ce0307526adec32a847f0daa1af2124f0a9 (patch) | |
tree | ce7317e18bf9bdd379e73782771761e4c24a156c /kernel/trace/trace_functions.c | |
parent | 093419971e03362a00f499960557c119982ea09f (diff) |
blktrace: fix timestamp in binary output
I found the timestamp is wrong:
# echo bin > trace_option
# echo blk > current_tracer
# cat trace_pipe | blkparse -i -
8,0 0 0 0.000000000 504 A W ...
...
8,7 1 0 0.008534097 0 C R ...
(should be 8.534097xxx)
user-space blkparse expects the timestamp to be nanosecond.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions