trace_timer_cancel(9)
π trace_timer_cancel(9)
okay bestie, welcome to the Kernel API Manual β yes we're in the kernel section, yes it's giving big-brain energy, and no you don't have to be scared. this page is about trace_timer_cancel, a little tracepoint hook that gets called when a timer is canceled. that's it. that's the whole vibe. π
β¨ NAME β¨
trace_timer_cancel β called when the timer is canceled π
πΈ SYNOPSIS πΈ
void trace_timer_cancel (struct timer_list *timer );
literally that's the whole signature, no cap. it returns void, so don't go looking for a return value that isn't there π
π¦ ARGUMENTS π¦
timerβ pointer tostruct timer_list. that's your timer, bestie, the actual one being canceled. it's a pointer, so treat it with respect π
π SEE ALSO π
okay this is the part where the kernel shows you the whole friend group π β same tracepoint family, same vibes, go read them:
Kernel file ./include/trace/events/timer.h
trace_timer_init(9)trace_timer_start(9)trace_timer_expire_entry(9)trace_timer_expire_exit(9)trace_hrtimer_setup(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)
ngl, that's a lot of cross-references β but that's the timer tracepoint fam and they all show up for each other π«Ά
π§ sign-off π§
this icon of a page lives in ./include/trace/events, dated October 2026, and it's filed under trace_timer_cancel(9) β so you always know where to find it again. slay, go cancel some timers responsibly πβ¨
π¦ 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