From: Li Zefan Date: Wed, 25 Mar 2009 09:18:56 +0000 (+0800) Subject: blktrace: fix timestamp in binary output X-Git-Tag: v2.6.30-rc1~2^2~13^5~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c051ce0307526adec32a847f0daa1af2124f0a9;p=pandora-kernel.git 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 Acked-by: Jens Axboe Cc: Arnaldo Carvalho de Melo Cc: Steven Rostedt Cc: Frederic Weisbecker Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed