diff options
author | Carsten Emde <C.Emde@osadl.org> | 2012-07-11 22:05:18 +0000 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2012-08-24 22:40:15 -0400 |
commit | f96fed9eb7db355a19a8da5e147593eee8c4e443 (patch) | |
tree | f05d82010e5f8edafb0e3b123881d0bfb69eca62 /include/asm-generic | |
parent | 6b1fc01458d05836badd117a8679ff94f77c8893 (diff) |
Latency histograms: Adjust timer, if already elapsed when programmed
Nothing prevents a programmer from calling clock_nanosleep() with an
already elapsed wakeup time in absolute time mode or with a too small
delay in relative time mode. Such timers cannot wake up in time and,
thus, should be corrected when entered into the missed timers latency
histogram (CONFIG_MISSED_TIMERS_HIST).
This patch marks such timers and uses a corrected expiration time.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions