aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-11-10 16:37:09 +0100
committerMartin K. Petersen <[email protected]>2017-12-04 20:32:52 -0500
commit7e75f6077074a7ce2c62092acbad0665ba88485d (patch)
treea24898962af80151791fa3f0238c0bba98a2dfe9 /tools/perf/scripts/python/bin
parent2c7982364e05abaa709c0b69dd94c8b389f8ae13 (diff)
scsi: bfa: use ktime_get_real_ts64 for firmware timestamp
BFA_TRC_TS() calculates a 32-bit microsecond timestamp using the deprecated do_gettimeofday() function. This overflows roughly every 71 minutes, so it's obviously not used as an absolute time stamp, but it seems wrong to use a time base for it that will jump during settimeofday() calls, leap seconds, or the y2038 overflow. This converts it to ktime_get_ts64(), which has none of those problems but is not synchronized to wall-clock time. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Anil Gurumurthy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions