PROBE::SOCKET.AIO_(3stap)

πŸ’– PROBE::SOCKET.AIO_WRITE.RETURN πŸ’–

okay bestie, gather round, because this is a page from the Socket Tapset section of the SystemTap Tapset Reference and it's literally about catching the exact moment a socket send wraps up. no cap, it's giving "I watched your message leave the building" energy. πŸ¦‹


✨ NAME ✨

probe::socket.aio_write.return β€” the conclusion of a message send via sock_aio_write, aka the moment your socket send says "and that's a wrap" πŸ’…


🌸 SYNOPSIS 🌸

probe socket.aio_write.return {}

that's it. that's the whole vibe. a probe with zero arguments living its best main character life. πŸŽ€


πŸ‘‘ VALUES πŸ‘‘

every one of these is handed to you when the probe fires, so let's go through them like we're unpacking a haul:

  • protocol β€” the protocol value. which protocol, you ask? the protocol value. she's mysterious like that. 🫢
  • state β€” the socket state value, i.e. what headspace your socket is currently in.
  • name β€” the name of this probe. iconic self-introduction moment.
  • type β€” the socket type value. yes queen, know your type.
  • family β€” the protocol family value. it's all about family. 🌈
  • success β€” was the receive successful? 1 = yes, 0 = no. a simple girl. binary. we stan.
  • flags β€” the socket flags value, the little accessories your socket is wearing.
  • size β€” the size of the message received, in bytes. OR, plot twist, it's the error code if success = 0. 😭 so like, check success first or you'll be reading a number that means something completely different. iykyk.

🧚 CONTEXT 🧚

the message receiver. that's the context. that's who we are in this moment. πŸ“


πŸ’œ DESCRIPTION πŸ’œ

this probe fires at the conclusion of sending a message on a socket via the sock_aio_write function. so like, not the beginning, not the middle β€” the very end, the closing credits, the final bow. if you wanna know how the send went down, this is where you pull up. πŸ”₯


⭐ SEE ALSO ⭐


and that's the page!! mwah πŸ’‹ this was the SystemTap Tapset Reference, dated September 2026, and you read the whole thing like the academic weapon you are. so proud. go forth and probe responsibly, no cap. πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from