PROBE::SOCKET.WRIT(3stap)

πŸ’– PROBE::SOCKET.WRIT πŸ’–

okay bestie, welcome to the Socket Tapset manual, page three-stap, and this one is literally about watching a message leave on a socket. ✨


🌸 NAME 🌸

probe::socket.write_iter β€” message send via sock_write_iter πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

probe socket.write_iter {}

yeah that's it, that's the whole probe signature, she's lowkey minimal πŸ’…


✨ VALUES ✨

here's everything you get handed when this probe fires, no cap:

  • family β€” the protocol family value 🫢
  • flags β€” the socket flags value 🌈
  • size β€” message size in bytes (yes, in bytes, she's precise like that) πŸ“
  • name β€” name of this probe πŸ‘‘
  • type β€” the socket type value πŸŽ€
  • protocol β€” the protocol value ⭐
  • state β€” the socket state value πŸ¦‹

🌟 CONTEXT 🌟

the message sender, aka the main character of this whole situation πŸ’œ


πŸ’… DESCRIPTION πŸ’…

so this probe fires at the very beginning of sending a message on a socket, going through the sock_write_iter function. it's giving "we are SO back, the message is about to go out." πŸ”₯


πŸ‘€ SEE ALSO πŸ‘€


and that's the whole page, bestie!! πŸŽ€βœ¨

this was the SystemTap Tapset Reference, Version, dated September 2026 β€” so like, go off, September 2026. πŸ’– thanks for reading, ily, go write some probes 🫢🌈

πŸ“¦ where this page comes from