summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKhazhismel Kumykov <khazhy@google.com>2022-04-12 01:03:35 +0300
committerMike Snitzer <snitzer@kernel.org>2022-04-13 20:22:16 +0300
commitce40426fdc3c92acdba6b5ca74bc7277ffaa6a3d (patch)
tree5854511d1b2d3cac9dadf05b2a8d4393b5cdf147 /tools/perf/scripts/python
parent08c1af8f1c13bbf210f1760132f4df24d0ed46d6 (diff)
downloadlinux-ce40426fdc3c92acdba6b5ca74bc7277ffaa6a3d.tar.xz
dm mpath: only use ktime_get_ns() in historical selector
Mixing sched_clock() and ktime_get_ns() usage will give bad results. Switch hst_select_path() from using sched_clock() to ktime_get_ns(). Also rename path_service_time()'s 'sched_now' variable to 'now'. Fixes: 2613eab11996 ("dm mpath: add Historical Service Time Path Selector") Signed-off-by: Khazhismel Kumykov <khazhy@google.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions