trace_signal_deliver(9)
π NAME π
trace_signal_deliver β the hook that gets called when a signal is delivered β¨
okay so this is trace_signal_deliver(9) from the Kernel API Manual, and weβre gonna get you comfy with it, bestie π«Ά
πΈ SYNOPSIS πΈ
hereβs the function signature, no cap:
void trace_signal_deliver (int sig , struct kernel_siginfo *info ,
struct k_sigaction *ka );
π¦ ARGUMENTS π¦
sigβ the signal number, literally the signalβs little ID πinfoβ a pointer tostruct siginfoπkaβ a pointer tostruct k_sigactionπ
π DESCRIPTION π
so hereβs the tea: a sig signal is delivered to the current process with the info siginfo, and itβs gonna be handled by ka. and ka->sa.sa_handler can be SIG_IGN or SIG_DFL β iconic, but important π
now for the lore: some signals reported by the signal_generate tracepoint can be lost, ignored, or modified (by a debugger) before they ever hit this tracepoint π. so this tracepoint can show you which signals are actually delivered, but matching generated signals and delivered signals may not be correct β fr fr, donβt treat that match-up as gospel π
π₯ SEE ALSO π₯
- Kernel file
./include/trace/events/signal.hβ go peek, bestie π trace_signal_generate(9)β the related tracepoint vibe check π
okay bye bestie β source/version is ./include/trace/events, date is October 2026, and this whole page is literally trace_signal_deliver(9) π«Άπ
π¦ 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