diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2024-10-09 10:29:04 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-25 19:49:14 +0200 |
commit | a5f9e4e4ef941048d1ff78cbb1ef95b20ed83802 (patch) | |
tree | 224c4482ec461d53e735b6883a40198963716d78 /tools/perf/scripts/python/flamegraph.py | |
parent | 10f7c178a9dad803e80bc01f47e7b30e12a78957 (diff) |
timekeeping: Introduce tkd_basic_setup() to make lock and seqcount init reusable
Initialization of lock and seqcount needs to be done for every instance of
timekeeper struct. To be able to easily reuse it, create a separate
function for it.
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-11-554456a44a15@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions