diff options
author | 2015-11-25 16:22:25 +0100 | |
---|---|---|
committer | 2015-12-06 21:17:17 -0500 | |
commit | 03927c8acb63100046260711c06ba28b6b5936fb (patch) | |
tree | a9d112dd05a9baeb26500dcb085be2ed313b2d5c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | adfs: constify adfs_dir_ops structures (diff) | |
download | wireguard-linux-03927c8acb63100046260711c06ba28b6b5936fb.tar.xz wireguard-linux-03927c8acb63100046260711c06ba28b6b5936fb.zip |
coredump: Use 64bit time for unix time of coredump
struct timeval on 32-bit systems will have its tv_sec
value overflow in year 2038 and beyond.
Use a 64 bit value to print time of the coredump in seconds.
ktime_get_real_seconds is chosen here for efficiency reasons.
Suggested by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions