summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-07-23 17:33:08 +0300
committerDavide Garberi <dade.garberi@gmail.com>2022-07-27 18:58:38 +0200
commit479ed3e13994141b42b5c650a07aa2043c79f21c (patch)
tree70ea8574302779f5a484fa37a7512b6f4e7aec9d /tools/perf/scripts/python/export-to-postgresql.py
parentf87408386728989f23faa5b1f8b656cb38c5e2d5 (diff)
BACKPORT: block: use ktime_get_ns() instead of sched_clock() for cfq
cfq has some internal fields that use sched_clock() which can trivially use ktime_get_ns() instead. Their timestamp fields in struct request can also use ktime_get_ns(), which resolves the 8 year old comment added by commit 28f4197e5d47 ("block: disable preemption before using sched_clock()"). Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: celtare21 <celtare21@gmail.com> Signed-off-by: Yaroslav Furman <yaro330@gmail.com> - improved comment.
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions