[PATCH 0/2] kselftests: set-timer-lat: test one-shot timers

From: Greg Hackmann
Date: Tue Jul 25 2017 - 17:37:04 EST


This patchset expands set-timer-lat to cover one-shot timers. This is
inspired by a recent regression in the -stable tree, which caused one-shot
alarm timers to repeat at a 1 ns interval.

The first patch adjusts how early-firing timers are reported, so faulty
kernels won't cause the test to spam the console with failure messages.
The second patch actually adds the one-shot testcases.

Greg Hackmann (2):
kselftests: set-timer-lat: tweak reporting when timer fires early
kselftests: set-timer-lat: add one-shot timer test cases

tools/testing/selftests/timers/set-timer-lat.c | 103 +++++++++++++++++++++----
1 file changed, 90 insertions(+), 13 deletions(-)

--
2.14.0.rc0.400.g1c36432dff-goog