trace_irq_handler_entry(9)
π trace_irq_handler_entry β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual entry for trace_irq_handler_entry, and trust me, this one is a little baddie. π
πΈ NAME πΈ
trace_irq_handler_entry β the tracepoint that gets called, like, immediately before the irq action handler runs. literally the "hey bestie, they're about to go in" moment. π
β¨ SYNOPSIS β¨
void trace_irq_handler_entry (int irq , struct irqaction *action );
two arguments, no return type, she just vibes in and does her thing. π«Ά
π¦ ARGUMENTS π¦
irqβ the irq number π like, which interrupt we're talking aboutactionβ a pointer tostruct irqactionβ yes queen, a whole pointer, we love to see it
π§ DESCRIPTION π§
so the struct irqaction that action points at? it's giving information central. it holds all kinds of stuff about the handler, including:
- the device name,
action->nameπΈ - the device id,
action->dev_idπ
and here's the iconic part, bestie β when you use this in conjunction with the irq_handler_exit tracepoint, we can figure out irq handler latencies. no cap. you get the "before" here, the "after" over there, and the difference is the tea. ββ¨
π₯ SEE ALSO π₯
- Kernel file
./include/trace/events/irq.h trace_irq_handler_exit(9)trace_softirq_entry(9)trace_softirq_exit(9)trace_softirq_raise(9)trace_tasklet_entry(9)trace_tasklet_exit(9)
and that's the whole page, bestie, no notes. π this little gem lives in ./include/trace/events, dated October 2026, and it's brought to you by the Kernel API Manual herself. 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