diff options
| author | Thomas Gleixner <[email protected]> | 2024-10-09 10:29:08 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-10-25 19:49:14 +0200 |
| commit | 97e53792538dd8993172e231f09dadee57f66d69 (patch) | |
| tree | 8f1d2946e6410b11f86791252eb72ef3fefb3d1f /tools/perf/scripts/python/task-analyzer.py | |
| parent | 6b1ef640f4c48663777972ab0953a3eb6355ef85 (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 <[email protected]>
Signed-off-by: Anna-Maria Behnsen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: John Stultz <[email protected]>
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions