PROBE::SIGNAL.SYS_(3stap)

πŸ’… PROBE::SIGNAL.SYS_(3stap) β€” the Signal Tapset girlies know

okay so bestie, welcome to the Signal Tapset section of the SystemTap manual β€” this one's about probe::signal.sys_tkill, and it's lowkey iconic. let's get into it 🫢


✨ NAME ✨

probe::signal.sys_tkill β€” sending a kill signal to a thread. yes, like that kind of kill. very main character energy πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

probe signal.sys_tkill {}

that's it. that's the whole vibe. one probe, no args, no drama πŸ’…


🌸 VALUES 🌸

these are the lil variables you get handed when the probe fires, and ngl they're all useful:

  • sig_pid β€” the PID of the process that's receiving the kill signal. the target, the recipient, the one getting the notif 😭
  • sig_name β€” a string representation of the signal. so like, the signal's name but as text, fr fr
  • name β€” the name of the probe point. it's giving "hello, this is me" πŸŽ€
  • task β€” a task handle to the signal recipient. your little pointer to whoever's getting the signal πŸ’–
  • pid_name β€” the name of the signal recipient. the who of the whole situation
  • sig β€” the specific signal sent to the process. the actual number, the real deal ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

so the tkill call is basically analogous to kill(2) β€” same energy, same family β€” except it also lets you target a process within a specific thread group. and the way you do that is through their unique thread IDs, aka TIDs. not the PID, bestie, the TID. important distinction, don't mix them up πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, you ate it πŸ’… this was the SystemTap Tapset Reference, September 2026 edition β€” go forth and probe responsibly, bestie πŸ¦‹βœ¨πŸ’–

πŸ“¦ where this page comes from