aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorXunlei Pang <[email protected]>2014-12-10 15:54:26 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:16 -0800
commit6528b889955d36caa06712789746cfbd0ecf3898 (patch)
treec17dacc3c12b081cc396b37738c09acf22fb4113 /tools/perf/scripts/python/syscall-counts.py
parentc594d6787919692001ac7c16f08646a8ec36180a (diff)
rtc: refine rtc_timer_do_work() to consider other set alarm failures
rtc_timer_do_work() only judges -ETIME failure of__rtc_set_alarm(), but doesn't handle other failures like -EIO, -EBUSY, etc. If there is a failure other than -ETIME, the next rtc_timer will stay in the timerqueue. Then later rtc_timers will be enqueued directly because they have a later expires time, so the alarm irq will never be programmed. When such failures happen, this patch will retry __rtc_set_alarm(), if still can't program the alarm time, it will remove current rtc_timer from timerqueue and fetch next one, thus preventing it from affecting other rtc timers. Signed-off-by: Xunlei Pang <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: John Stultz <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions