aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2014-01-15 16:19:27 -0800
committerPaul E. McKenney <[email protected]>2014-02-25 12:39:01 -0800
commitaea369b959bef10d235cd0714789cd8b0fe170b8 (patch)
tree61d445c4986184e5f041c2c3f88896b02aa8f54b /tools/perf/util/scripting-engines/trace-event-perl.c
parent18d8cb64c9c074cbe2bd677ab10fff8283abdb62 (diff)
timers: Make internal_add_timer() update ->next_timer if ->active_timers == 0
The internal_add_timer() function updates base->next_timer only if timer->expires < base->next_timer. This is correct, but it also makes sense to do the same if we add the first non-deferrable timer. Signed-off-by: Oleg Nesterov <[email protected]> Reviewed-by: Steven Rostedt <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Tested-by: Mike Galbraith <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions