PROBE::SOCKET.WRIT(3stap)

✨ PROBE::SOCKET.WRIT ✨

okay bestie, welcome to section 3stap of the manuals β€” this one's the SystemTap Tapset Reference page for a probe, and it's short but it's mighty. let's get into it πŸ’…


πŸ¦‹ NAME πŸ¦‹

probe::socket.writev β€” the probe that catches a message getting sent via socket_writev


🌸 SYNOPSIS 🌸

probe socket.writev {}

πŸŽ€ VALUES πŸŽ€

every one of these is a lil variable you get to peek at. collect them all like they're stickers:

  • type β€” the socket type value 🫢
  • name β€” the name of this probe (yes, the probe knows its own name, main character behavior honestly)
  • state β€” the socket state value
  • protocol β€” the protocol value
  • flags β€” the socket flags value
  • size β€” the message size, in bytes πŸ“
  • family β€” the protocol family value

🧚 CONTEXT 🧚

who's in this scene? the message sender. that's it, that's the context πŸ’–


πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea: this probe fires at the beginning of sending a message on a socket via the sock_writev function. beginning of the send, before the message has gone anywhere β€” you're catching it right at the jump, no cap ✨


🌈 SEE ALSO 🌈


that's the whole page, bestie. love that for us πŸ’œ

sign-off time: this came out of the SystemTap Tapset Reference, tagged with version Ver and dated September 2026. mwah, go forth and trace πŸ’…πŸ’–

πŸ“¦ where this page comes from