diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2015-01-28 19:46:11 +0530 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-01-28 11:02:05 -0500 |
commit | da194930ede6d87945786f72b1c36c7a4ed0f3a6 (patch) | |
tree | 2f80664ea7f783844220d78907bdc17701a69862 /kernel/trace/trace_syscalls.c | |
parent | 6ea22486ba46bcb665de36514094d74575cd1330 (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/trace_syscalls.c')
0 files changed, 0 insertions, 0 deletions