Li Zefan 6c051ce030 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>
2009-03-31 17:26:47 +02:00
..
2009-02-08 10:00:26 -08:00
2009-02-18 15:37:54 -08:00
2008-10-16 11:21:30 -07:00
2009-02-13 09:44:22 +01:00
2009-02-11 18:24:08 +01:00
2008-07-28 14:37:38 +02:00
2009-02-22 20:05:19 +01:00
2007-07-16 09:05:50 -07:00
2009-01-06 15:59:27 -08:00
2008-12-10 08:01:54 -08:00
2009-02-21 14:17:17 -08:00
2009-01-14 18:09:02 +01:00
2009-01-08 08:31:02 -08:00
2009-02-10 00:41:54 +01:00
2009-01-08 08:31:12 -08:00
2008-09-02 19:21:40 -07:00
2009-01-06 11:07:15 +01:00
2008-02-06 10:41:02 -08:00
2008-10-16 11:21:47 -07:00