diff options
author | Richard Larocque <[email protected]> | 2014-09-09 18:31:03 -0700 |
---|---|---|
committer | John Stultz <[email protected]> | 2014-09-12 13:59:11 -0700 |
commit | e86fea764991e00a03ff1e56409ec9cacdbda4c9 (patch) | |
tree | f12edeca14a07b086642c369cbb45dae112dd14d /scripts/gdb/linux/tasks.py | |
parent | d78c9300c51d6ceed9f6d078d4e9366f259de28c (diff) |
alarmtimer: Return relative times in timer_gettime
Returns the time remaining for an alarm timer, rather than the time at
which it is scheduled to expire. If the timer has already expired or it
is not currently scheduled, the it_value's members are set to zero.
This new behavior matches that of the other posix-timers and the POSIX
specifications.
This is a change in user-visible behavior, and may break existing
applications. Hopefully, few users rely on the old incorrect behavior.
Cc: [email protected]
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Sharvil Nanavati <[email protected]>
Signed-off-by: Richard Larocque <[email protected]>
[jstultz: minor style tweak]
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions