aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-06-17 17:46:28 -0300
committerMauro Carvalho Chehab <[email protected]>2016-07-08 16:36:00 -0300
commite95be15886ac9a931f540073c1c0db299e806f3c (patch)
tree06db28644a13222eb284841f336a2854e0ca7fef /tools/perf/scripts/python/syscall-counts.py
parent84345a23fa102100a13ff12f57d6aa09eb9359bc (diff)
[media] dvb: use ktime_t for internal timeout
The dvb demuxer code uses a 'struct timespec' to pass a timeout as absolute time. This will cause problems on 32-bit architectures in 2038 when time_t overflows, and it is racy with a concurrent settimeofday() call. This patch changes the code to use ktime_get() instead, using the monotonic time base to avoid both the race and the overflow. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions