aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorTina Ruchandani <[email protected]>2015-10-29 22:44:31 -0700
committerGreg Kroah-Hartman <[email protected]>2015-12-01 14:54:06 -0800
commit8ab0f723af247af8dd92196c152c8f1da0254b2f (patch)
tree6fe10e035147ee34462c215ff24a6061ecf61758 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent18fc4ebdc7057478497682047db5acfb25b35c49 (diff)
USB: usbmon: Use 64bit timestamp for mon_bin_hdr
struct mon_bin_hdr allows for a 64-bit seconds timestamp. The code currently uses 'struct timeval' to populate the timestamp in mon_bin_hdr, which has a 32-bit seconds field and will overflow in year 2038 and beyond. This patch replaces 'struct timeval' with 'struct timespec64' which is y2038 safe. This patch is part of a larger attempt to remove instances of struct timeval and other 32-bit timekeeping (time_t, struct timespec) from the kernel. Signed-off-by: Tina Ruchandani <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions