trace_hrtimer_expire_exit(9)
π trace_hrtimer_expire_exit π
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, we're fancy now β¨ this little page is all about trace_hrtimer_expire_exit(9) and honestly? she's a supporting character who makes the whole plot work. let's get into it π
πΈ NAME πΈ
trace_hrtimer_expire_exit β the function that gets called, like, immediately after the hrtimer callback returns. no waiting, no "give me a sec", literally the instant it comes back π
β¨ SYNOPSIS β¨
void trace_hrtimer_expire_exit (struct hrtimer *hrtimer );
that's it. that's the whole signature. she's a void, she takes one pointer, she minds her business π«Ά
π¦ ARGUMENTS π¦
hrtimerβ a pointer tostruct hrtimer. just the pointer, that's all she needs, don't overthink it π
π₯ DESCRIPTION π₯
okay so here's the tea β β this function is the exit half of a little duo. when you use it in combination with the hrtimer_expire_entry tracepoint, you can figure out the runtime of the callback function. entry goes in, exit comes out, and you do the math in between. it's giving stopwatch energy β±οΈβ¨
no cap, that's the whole flex. entry point + exit point = you know how long the callback was cooking π₯
π SEE ALSO π
living in the kernel file ./include/trace/events/timer.h, and surrounded by her whole friend group π:
trace_timer_init(9)trace_timer_start(9)trace_timer_expire_entry(9)trace_timer_expire_exit(9)trace_timer_cancel(9)trace_hrtimer_setup(9)trace_hrtimer_start(9)trace_hrtimer_expire_entry(9)trace_hrtimer_start_expired(9)trace_hrtimer_cancel(9)trace_hrtimer_rearm(9)trace_itimer_state(9)trace_itimer_expire(9)
(yes, trace_hrtimer_expire_exit(9) is in her own SEE ALSO list. self-love, we respect it ππ)
and that's the page!! shoutout to ./include/trace/events for housing all this, dated October 2026, filed under trace_hrtimer_expire_exit(9) β mwah, iconic, 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