summaryrefslogtreecommitdiff
path: root/kernel/trace/blktrace.c
diff options
context:
space:
mode:
authorTina Ruchandani <ruchandani.tina@gmail.com>2015-01-28 19:46:11 +0530
committerSteven Rostedt <rostedt@goodmis.org>2015-01-28 11:02:05 -0500
commitda194930ede6d87945786f72b1c36c7a4ed0f3a6 (patch)
tree2f80664ea7f783844220d78907bdc17701a69862 /kernel/trace/blktrace.c
parent6ea22486ba46bcb665de36514094d74575cd1330 (diff)
trace: Use 64-bit timekeeping
The ring_buffer_producer uses 'struct timeval' to measure its start and end times. 'struct timeval' on 32-bit systems will have its tv_sec value overflow in year 2038 and beyond. This patch replaces struct timeval with 'ktime_t' which uses 64-bit representation for nanoseconds. Link: http://lkml.kernel.org/r/20150128141611.GA2701@tinar Suggested-by: Arnd Bergmann <arnd@arndb.de> Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/blktrace.c')
0 files changed, 0 insertions, 0 deletions