aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2010-03-11 14:04:31 -0800
committerThomas Gleixner <[email protected]>2010-03-12 19:12:18 +0100
commit15365c108ea27598e265f8c13e7051d99ca5b0b9 (patch)
tree487cc70e96a3d6696f8f62fb7b6dbaacbc84ace5 /tools/perf/util/trace-event-scripting.c
parent829b6c1ef488856c6a46a2f705f5068062d5f34c (diff)
posix-cpu-timers: Reset expire cache when no timer is running
When a process deletes cpu timer or a timer expires we do not clear the expiration cache sig->cputimer_expires. As a result the fastpath_timer_check() which prevents us to loop over all threads in case no timer is active is not working and we run the slow path needlessly on every tick. Zero sig->cputimer_expires in stop_process_timers(). Signed-off-by: Stanislaw Gruszka <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Hidetoshi Seto <[email protected]> Cc: Spencer Candland <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions