trace_softirq_raise(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… trace_softirq_raise(9) πŸ’…

okay so this one is from the Kernel API Manual, and it's literally the function that gets called the instant a softirq is raised. bestie, timing is the whole point 🫢


✨ NAME ✨

trace_softirq_raise β€” called immediately when a softirq is raised.

that's the vibe: softirq goes up, this function is right there. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, copy it exactly, no freestyling:

void trace_softirq_raise (unsigned int vec_nr );

🌸 ARGUMENTS 🌸

  • vec_nr β€” the softirq vector number. yes ma'am, that's the number of the vector, and it's an unsigned int in the signature above. πŸ’–

πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the actual lore: when you use this in combination with the softirq_entry tracepoint, you can determine the softirq raise-to-run latency ✨. that's it. that's the whole flex. highkey useful for seeing how long a softirq took between being raised and running. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

go peek at the kernel file ./include/trace/events/irq.h and these iconique friends:


mwah πŸ’‹ this page came from ./include/trace/events, October 2026. now go trace something cute πŸ§šπŸ’œ

πŸ“¦ where this page comes from