PROBE::SOCKET.READ(3stap)
π PROBE::SOCKET.READ π
okay bestie, welcome to the Socket Tapset section of the SystemTap manual β yes this is a 3stap page, and yes it's lowkey iconic. this one's about catching a socket right when it's receiving a message. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
probe::socket.read_iter β Receiving message via sock_read_iter
πΈ SYNOPSIS πΈ
probe socket.read_iter {}
that's it. that's the whole probe. no args, no drama, just vibes. π
π VALUES π
these are the local variables you get handed when the probe fires β the little gift bag of socket deets:
typeβ the Socket type value π¦nameβ Name of this probe (so like, its name name, the probe's own label)protocolβ Protocol value π‘stateβ Socket state value (what's the socket's current mood, essentially)flagsβ Socket flags value π©sizeβ Message size in bytes, fr frfamilyβ Protocol family value π
π CONTEXT π
The message sender.
likeβ¦ that's who's in the room when this fires. the sender. that's the context. π«‘
π DESCRIPTION π
Fires at the beginning of receiving a message on a socket via the sock_read_iter function.
so it's the very start of the receive, before anything's even really happened yet β you're catching it at the top of the sock_read_iter moment. main character entrance energy. β¨
π₯ SEE ALSO π₯
tapset::socket(3stap)β go read that one too, iykyk π
okay that's the whole page! mwah, slay, you now understand socket.read_iter. periodt. π
πΈ
this was brought to you by the SystemTap Tapset Reference, September 2026 (the footer just says "Ver" and nothing else bestie, i'm not gonna lie to you π), and it's page PROBE::SOCKET.READ(3stap) of the Socket Tapset. bye bestie, go probe responsibly ππ¦
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms