diff options
author | John Stultz <[email protected]> | 2015-10-05 18:16:57 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-10-12 09:51:34 +0200 |
commit | 6035519fcf5aa17084b41790cdc584d881d82c03 (patch) | |
tree | 03fbc8affa4508d51d6370ee8fcb2e9e4e0d2b6e /tools/perf/scripts/python/stackcollapse.py | |
parent | b9f27c0f4f7db9e5a4ba59228442a75d3177470c (diff) |
timers, kselftest: Add 'adjtick' test to validate adjtimex() tick adjustments
Recently a kernel side NTP bug was fixed via the following commit:
2619d7e9c92d ("time: Fix timekeeping_freqadjust()'s incorrect use of abs() instead of abs64()")
When the bug was reported it was difficult to detect, except by
tweaking the adjtimex tick value, and noticing how quickly the
adjustment took:
https://lkml.org/lkml/2015/9/1/488
Thus this patch introduces a new test which manipulates the
adjtimex tick value and validates that the results are what we
expect.
Signed-off-by: John Stultz <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Miroslav Lichvar <[email protected]>
Cc: Nuno Gonçalves <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Tidied up the code and the changelog a bit. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions