summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-10-09 10:29:08 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-10-25 19:49:14 +0200
commit97e53792538dd8993172e231f09dadee57f66d69 (patch)
tree8f1d2946e6410b11f86791252eb72ef3fefb3d1f /tools/perf/scripts/python/parallel-perf.py
parent6b1ef640f4c48663777972ab0953a3eb6355ef85 (diff)
timekeeping: Provide timekeeping_restore_shadow()
Functions which operate on the real timekeeper, e.g. do_settimeofday(), have error conditions. If they are hit a full timekeeping update is still required because the already committed operations modified the timekeeper. When switching these functions to operate on the shadow timekeeper then the full update can be avoided in the error case, but the modified shadow timekeeper has to be restored. Provide a helper function for that. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: John Stultz <jstultz@google.com> Link: https://lore.kernel.org/all/20241009-devel-anna-maria-b4-timers-ptp-timekeeping-v2-15-554456a44a15@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions