diff options
author | 2018-07-26 14:39:25 +0200 | |
---|---|---|
committer | 2018-07-30 08:50:12 -0400 | |
commit | 3530a17f4dc8f1f667fee14c16f229162daa79bb (patch) | |
tree | 6d1c5d8861de19444857923437fe9584d81a41a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/msm: dsi: Handle dual-channel for 6G as well (diff) | |
download | linux-dev-3530a17f4dc8f1f667fee14c16f229162daa79bb.tar.xz linux-dev-3530a17f4dc8f1f667fee14c16f229162daa79bb.zip |
drm/msm/gpu: avoid deprecated do_gettimeofday
All users of do_gettimeofday() have been removed, but this one recently
crept in, along with an incorrect printing of the microseconds portion.
This converts it to using ktime_get_real_timespec64() as a direct
replacement, and adds the leading zeroes. I considered using monotonic
times (ktime_get()) instead, but as this timestamp appears to only
be used for humans rather than compared with other timestamps, the
real time domain is probably good enough.
Fixes: e43b045e2c82 ("drm/msm/gpu: Capture the state of the GPU")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions