PROBE::SOCKET.READ(3stap)

πŸ’– probe::socket.read_iter.return β€” Socket Tapset, bestie edition πŸ’–

okay so. hi. you're in the Socket Tapset section of the SystemTap manual (3stap), and this page is literally all about one lil probe: probe::socket.read_iter.return. it's giving "the moment the message lands." let's go 🫢


✨ NAME ✨

probe::socket.read_iter.return β€” the conclusion of a message received via sock_read_iter. that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

probe socket.read_iter.return {}

that's it. that's the probe. she's simple, she's iconic πŸ’…


πŸŽ€ VALUES πŸŽ€

these are all the lil variables you get to peek at inside the probe. read them like a group chat:

  • success β€” was the receive actually successful? 1 = yes bestie, 0 = no 😭
  • family β€” the protocol family value
  • flags β€” the socket flags value
  • size β€” size of the message received, in bytes β€” OR the error code if success = 0 (yeah, she's doing double duty, she contains multitudes)
  • state β€” the socket state value
  • protocol β€” the protocol value
  • name β€” the name of this probe
  • type β€” the socket type value

πŸ¦‹ CONTEXT πŸ¦‹

the message receiver. that's who's on stage. main character energy only 🌟


⭐ DESCRIPTION ⭐

this probe fires at the conclusion of receiving a message on a socket, via the sock_read_iter function. like, the message has arrived, the read is done, and this probe is there to catch the aftermath. obsessed 🧚


πŸ’œ SEE ALSO πŸ’œ


and that's the page!! πŸ’– written up in the SystemTap Tapset Reference, Ver, September 2026 β€” mwah, go forth and trace some sockets, bestie πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from