aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-09-27 16:45:14 -0400
committerGreg Kroah-Hartman <[email protected]>2015-09-29 04:03:36 +0200
commit1f4fc343c008981d3a91351c030e2c29f5cd1b1c (patch)
treecfb7ddc7009c251b688f0a31a20c1eb3d2cb6c21 /tools/perf/scripts/python/check-perf-trace.py
parent473c4e01029f6692be7ddc0e7f9b75dc933c7057 (diff)
staging/lustre: use 64-bit times for cfs_srand seed
Several functions in Lustre call cfs_srand with do_gettimeofday as the seed to get a pseudo-random number. There is no bug here, but changing it to use ktime_get_ts64() gets us closer to deprecating do_gettimeofday() and makes it slightly more random. Affected functions are: lnet_shuffle_seed, init_lustre_lite and class_handle_init Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions