diff options
author | Thomas Gleixner <[email protected]> | 2024-06-10 18:42:25 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2024-07-29 21:57:34 +0200 |
commit | c20b99e3243f9e72b6fa0e260766adcba115f25b (patch) | |
tree | 70c9834de1ab34dcc8f260f4e3b382b203c47021 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe (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 <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Reviewed-by: Anna-Maria Behnsen <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions