diff options
author | Tina Ruchandani <[email protected]> | 2015-01-28 19:46:11 +0530 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2015-01-28 11:02:05 -0500 |
commit | da194930ede6d87945786f72b1c36c7a4ed0f3a6 (patch) | |
tree | 2f80664ea7f783844220d78907bdc17701a69862 /tools/perf/scripts/python/syscall-counts.py | |
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 <[email protected]>
Suggested-by: Steven Rostedt <[email protected]>
Signed-off-by: Tina Ruchandani <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions