diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:46:07 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 11:19:04 +0100 |
commit | 5f8401cf7b3af468b29770d31cc993c2b6e5f027 (patch) | |
tree | b35be16b6ab3b5a62fcf602bfe719d18e057c150 /tools/perf/scripts/python/task-analyzer.py | |
parent | 563608c20403ebee8a5d4d4bda7c0ba75485acba (diff) |
drivers: perf: 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: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/all/471ea3b829d14a4b4c3c7814dbe1ed13b15d47b8.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions