diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-18 17:27:09 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-09-19 00:15:33 +0300 |
commit | dd3535b937c192941daa9b966caa707fa31c2c4d (patch) | |
tree | 2626f58bb04f926d065613c6a481c9376a65e00f /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 97a103e6b584442cd848887ed8d47be2410b7e09 (diff) | |
download | linux-dd3535b937c192941daa9b966caa707fa31c2c4d.tar.xz |
ipmi: Change to ktime_get_ts64()
getnstimeofday64() is deprecated because of the inconsistent naming,
it is only a wrapper around ktime_get_real_ts64() now, which could be
used as a direct replacement.
However, it is generally better to use CLOCK_MONOTONIC timestamps
where possible, to avoid glitches with a concurrent settimeofday()
or leap second.
The uses in ipmi are either for debugging prints or for comparing against
a prior timestamp, so using a monotonic ktime_get_ts64() is probably
best here.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions