aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAndrei Vagin <[email protected]>2019-04-08 04:15:42 +0000
committerThomas Gleixner <[email protected]>2019-04-10 13:23:26 +0000
commit07d7e12091f4ab869cc6a4bb276399057e73b0b3 (patch)
treedd505b68149ade6a64d4cce596329209b8cbbc24 /tools/perf/scripts/python/check-perf-trace.py
parentclocksource/drivers/clps711x: Remove board support (diff)
downloadkernel-07d7e12091f4ab869cc6a4bb276399057e73b0b3.tar.gz
kernel-07d7e12091f4ab869cc6a4bb276399057e73b0b3.zip
alarmtimer: Return correct remaining time
To calculate a remaining time, it's required to subtract the current time from the expiration time. In alarm_timer_remaining() the arguments of ktime_sub are swapped. Fixes: d653d8457c76 ("alarmtimer: Implement remaining callback") Signed-off-by: Andrei Vagin <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Mukesh Ojha <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: John Stultz <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions