aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-06-10 18:42:25 +0200
committerFrederic Weisbecker <frederic@kernel.org>2024-07-29 21:57:34 +0200
commitc20b99e3243f9e72b6fa0e260766adcba115f25b (patch)
tree70c9834de1ab34dcc8f260f4e3b382b203c47021 /tools/perf/scripts/python
parent286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe (diff)
posix-cpu-timers: Simplify posix_cpu_timer_set()
Avoid the late sighand lock/unlock dance when a timer is not armed to enforce reevaluation of the timer base so that the process wide CPU timer sampling can be disabled. Do it right at the point where the arming decision is made which already has sighand locked. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Reviewed-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions