diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-06-10 18:42:30 +0200 |
---|---|---|
committer | Frederic Weisbecker <frederic@kernel.org> | 2024-07-29 21:57:35 +0200 |
commit | 20f13385b5836d00d64698748565fc6d3ce9b419 (patch) | |
tree | 45d5ee418da391c30c8bb7a5f86c7797c69e06f2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 52dea0a15cc888e89f0144dca7b712fb56d12a28 (diff) |
posix-timers: Consolidate timer setup
hrtimer based and CPU timers have their own way to install the new interval
and to reset overrun and signal handling related data.
Create a helper function and do the same operation for all variants.
This also makes the handling of the interval consistent. It's only stored
when the timer is actually armed, i.e. timer->it_value != 0. Before that it
was stored unconditionally for posix CPU timers and conditionally for the
other posix timers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions