diff options
author | John Stultz <[email protected]> | 2011-08-10 10:37:59 -0700 |
---|---|---|
committer | John Stultz <[email protected]> | 2011-08-10 14:55:20 -0700 |
commit | 4b41308d2d0398409620613c7eaaaf52c738b042 (patch) | |
tree | 47a6becae6272eb9c06e57a0a9d1698b8f1811c8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6af7e471e5a7746b8024d70b4363d3dfe41d36b8 (diff) |
alarmtimers: Change alarmtimer functions to return alarmtimer_restart values
In order to properly fix the denial of service issue with high freq
periodic alarm timers, we need to push the re-arming logic into the
alarm timer handler, much as the hrtimer code does.
This patch introduces alarmtimer_restart enum and changes the
alarmtimer handler declarations to use it as a return value. Further,
to ease following changes, it extends the alarmtimer handler functions
to also take the time at expiration. No logic is yet modified.
CC: Thomas Gleixner <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions