trace_timer_expire_exit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so trace_timer_expire_exit(9) β€” from the Kernel API Manual, bestie β€” is literally the function that gets called immediately after the timer callback returns πŸ’…βœ¨

trace_timer_expire_exit β€” called immediately after the timer callback returns 🫢


✨ SYNOPSIS ✨

void trace_timer_expire_exit (struct timer_list *timer );

πŸŽ€ ARGUMENTS πŸŽ€

  • timer β€” pointer to struct timer_list, periodt πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

When you use this in combination with the timer_expire_entry tracepoint, we can determine the runtime of the timer callback function πŸ”₯ like yes, that's the whole point and it ate.


πŸ’€ NOTE πŸ’€

Do NOT dereference timer in TP_fast_assign 😭 the pointer might be invalid. We solely track the pointer. no cap, do not do it.

🌈 SEE ALSO 🌈

Kernel file ./include/trace/events/timer.h β€” go look, iykyk πŸ‘‘


source/version: ./include/trace/events πŸ“ Β· date: October 2026 πŸ—“οΈ mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from