diff options
author | 2018-03-30 14:32:42 -0500 | |
---|---|---|
committer | 2018-03-30 14:16:24 -0600 | |
commit | a5040c2d8dd732252609cde84ee3cdd6f1b1f927 (patch) | |
tree | dee51781faddd696e53e811dc9404b81cbd96803 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | lightnvm: remove function name in strings (diff) | |
download | linux-dev-a5040c2d8dd732252609cde84ee3cdd6f1b1f927.tar.xz linux-dev-a5040c2d8dd732252609cde84ee3cdd6f1b1f927.zip |
blktrace: fix comment in blktrace_api.h
The `__u64 time` field of the blk_io_trace struct refers to
the time in nanoseconds, not in microseconds. It is set in
__blk_add_trace, which does the following:
t->time = ktime_to_ns(ktime_get());
ktime_to_ns returns ktime_t in nanoseconds, not microseconds.
Signed-off-by: Souvik Banerjee <souvik1997@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions