aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChunyan Zhang <[email protected]>2017-11-06 09:06:10 -0500
committerMauro Carvalho Chehab <[email protected]>2017-12-14 10:35:27 -0500
commit1edba6484b19d288e11722d72b55a4b919fb059e (patch)
tree5417bb53998d9eeefdb22146d9f83e0ea25c5d06 /tools/perf/scripts/python
parent4957133fe32fec9a5fc57ce95b6107e976dcc251 (diff)
media: rc: Replace timeval with ktime_t in imon.c
This patch changes the 32-bit time type (timeval) to the 64-bit one (ktime_t), since 32-bit time types will break in the year 2038. I use ktime_t instead of all uses of timeval in imon.c This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other reason is that ktime_get() uses the monotonic clock. Signed-off-by: Chunyan Zhang <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions