diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2024-10-09 10:28:56 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-25 19:49:13 +0200 |
commit | 9fe7d9a984f2309ceb9f53bc89eb4885994e5052 (patch) | |
tree | 87f1eba70a97bd9e63cc3e33fd2adb720c8b2b47 /tools/perf/scripts/python/flamegraph.py | |
parent | 886150fb4f19505b8f9d26201d7671b25c233a9f (diff) |
timekeeping: Avoid duplicate leap state update
do_adjtimex() invokes tk_update_leap_state() unconditionally even when a
previous invocation of timekeeping_update() already did that update.
Put it into the else path which is invoked when timekeeping_update() is not
called.
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-3-554456a44a15@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions