trace_hrtimer_setup(9)
π« trace_hrtimer_setup(9) π«
okay so this is a page straight out of the Kernel API Manual β it's trace_hrtimer_setup(9), and yes bestie, we're getting into hrtimer tracepoint territory π
β¨ NAME β¨
trace_hrtimer_setup β literally called when the hrtimer is initialized πβ¨
Like, the moment an hrtimer wakes up and gets its whole setup done, this tracepoint fires. iconic behavior honestly.
π¦ SYNOPSIS π¦
void trace_hrtimer_setup (struct hrtimer *hrtimer , clockid_t clockid ,
enum hrtimer_mode mode );
no cap, that's the whole signature β void return, three args, very demure, very mindful π
πΈ ARGUMENTS πΈ
hrtimerβ pointer tostruct hrtimer. it's giving "the actual timer object", the main character of this whole function π«Άclockidβ the hrtimer's clock. yep, the clock id it's running on β°modeβ the hrtimer's mode. the vibe check of how this timer operates, iykyk π
π SEE ALSO π
kernel file ./include/trace/events/timer.h β go look, it's all there in the flesh πβ¨
and then the whole friend group of trace buddies:
trace_timer_init(9)trace_timer_start(9)trace_timer_expire_entry(9)trace_timer_expire_exit(9)trace_timer_cancel(9)trace_hrtimer_start(9)trace_hrtimer_expire_entry(9)trace_hrtimer_start_expired(9)trace_hrtimer_expire_exit(9)trace_hrtimer_cancel(9)trace_hrtimer_rearm(9)trace_itimer_state(9)trace_itimer_expire(9)
like, it's a whole squad fr fr ππ
and that's the whole page, bestie β no hidden options, no sneaky defaults, just a tracepoint doing its thing. slay. π
π cute little sign-off: this one lives in ./include/trace/events, dated October 2026, and it's still called trace_hrtimer_setup(9) β periodt. π¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms