summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
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/trace.h
parent6ea22486ba46bcb665de36514094d74575cd1330 (diff)
downloadop-kernel-dev-da194930ede6d87945786f72b1c36c7a4ed0f3a6.zip
op-kernel-dev-da194930ede6d87945786f72b1c36c7a4ed0f3a6.tar.gz
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/trace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud