diff options
| author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:39:08 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 10:32:33 +0100 |
| commit | 19fec9c4434f86bce6b7227ee70b8d9a2b3c9035 (patch) | |
| tree | 761e88173b545cb2c25091598f6a34be02cb2e07 /tools/perf/scripts/python | |
| parent | watchdog: Switch to use hrtimer_setup() (diff) | |
| download | linux-19fec9c4434f86bce6b7227ee70b8d9a2b3c9035.tar.gz linux-19fec9c4434f86bce6b7227ee70b8d9a2b3c9035.zip | |
tracing/osnoise: Switch to use hrtimer_setup()
hrtimer_setup() takes the callback function pointer as argument and
initializes the timer completely.
Replace hrtimer_init() and the open coded initialization of
hrtimer::function with the new setup mechanism.
Patch was created by using Coccinelle.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/all/ff8e6e11df5f928b2b97619ac847b4fa045376a1.1738746821.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
