PROBE::SIGNAL.SYS_(3stap)

πŸ’– probe::signal.sys_tgkill πŸ’–

okay bestie, welcome to the PROBE::SIGNAL.SYS_(3stap) page β€” it's part of the Signal Tapset, and it's literally the group-chat moment where a signal gets delivered to a whole thread group. let's get into it πŸ’…


✨ NAME ✨

probe::signal.sys_tgkill β€” sending kill signal to a thread group πŸŽ€


🌸 SYNOPSIS 🌸

probe signal.sys_tgkill {}

that's it. that's the whole vibe. no args, no drama, she just fires. ✨


πŸ¦‹ VALUES πŸ¦‹

these are the little goodies this probe hands you. memorize them, they're all serving:

  • tgid β€” The thread group ID of the thread receiving the kill signal 🫢
  • sig β€” The specific kill signal sent to the process β€” like, which signal, exactly
  • sig_pid β€” The PID of the thread receiving the kill signal πŸ‘‘
  • name β€” Name of the probe point β€” the probe point's own little name tag
  • sig_name β€” A string representation of the signal β€” so the number gets a cute readable form 🌈
  • pid_name β€” The name of the signal recipient β€” who's getting this signal, by name
  • task β€” A task handle to the signal recipient β€” the lil handle you can grab to poke at the recipient πŸ“

πŸ’œ DESCRIPTION πŸ’œ

okay so listen, the tgkill call is similar to tkill, except that it also allows the caller to specify the thread group ID of the thread to be signalled. and why do we care?? because that extra tgid is what protects against TID reuse πŸ”₯ β€” no cap, that's the whole point. if you just went by the thread ID alone, that ID could get recycled and you'd signal the wrong lil thread entirely. the thread group ID keeps it honest. periodt. πŸ’…


🌈 SEE ALSO 🌈

  • tapset::signal(3stap) β€” go read the whole tapset bestie, it's giving main character energy πŸ’–

and that's the page!! this one's from the SystemTap Tapset Reference (the version line up top just says "Ver"), dated September 2026 β€” so yeah, shoutout to the SystemTap girlies for keeping the tapset docs iconic. mwah, go signal something. πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from