TAPSET::SOCKET(3stap)
π NAME π
okay so this is tapset::socket β it's the systemtap socket tapset, bestie, and it's literally your backstage pass to everything your sockets are doing π
(this is the TAPSET::SOCKET(3stap) page, in case the header didn't already scream it at you)
π¦ DESCRIPTION π¦
so this whole family of probe points? it exists to probe socket activities. that's the vibe. all of it. socket stuff. π«Ά
no cap, here's the full roster β every single one, alphabetically cursed order and all:
socket.sendβ a Message sent on a socket. Seeprobe::socket.send(3stap)for details.socket.receiveβ a Message received on a socket. Seeprobe::socket.receive(3stap)for details.socket.sendmsgβ a Message is currently being sent on a socket. Seeprobe::socket.sendmsg(3stap)for details.socket.sendmsg.returnβ Return fromsocket.sendmsg. Seeprobe::socket.sendmsg.return(3stap)for details.socket.recvmsgβ a Message being received on socket Seeprobe::socket.recvmsg(3stap)for details.socket.recvmsg.returnβ Return from Message being received on socket Seeprobe::socket.recvmsg.return(3stap)for details.socket.aio_writeβ a Message send viasock_aio_write()Seeprobe::socket.aio_write(3stap)for details.socket.aio_write.returnβ the Conclusion of message send viasock_aio_write()Seeprobe::socket.aio_write.return(3stap)for details.socket.aio_readβ Receiving message viasock_aio_read()Seeprobe::socket.aio_read(3stap)for details.socket.aio_read.returnβ the Conclusion of message received viasock_aio_read()Seeprobe::socket.aio_read.return(3stap)for details.socket.write_iterβ a Message send viasock_write_iter()Seeprobe::socket.write_iter(3stap)for details.socket.write_iter.returnβ the Conclusion of message send viasock_write_iter()Seeprobe::socket.write_iter.return(3stap)for details.socket.read_iterβ Receiving message viasock_read_iter()Seeprobe::socket.read_iter(3stap)for details.socket.read_iter.returnβ the Conclusion of message received viasock_read_iter()Seeprobe::socket.read_iter.return(3stap)for details.socket.writevβ a Message sent viasocket_writev()Seeprobe::socket.writev(3stap)for details.socket.writev.returnβ the Conclusion of message sent viasocket_writev()Seeprobe::socket.writev.return(3stap)for details.socket.readvβ Receiving a message viasock_readv()Seeprobe::socket.readv(3stap)for details.socket.readv.returnβ the Conclusion of receiving a message viasock_readv()Seeprobe::socket.readv.return(3stap)for details.socket.createβ the Creation of a socket β¨ (main character moment fr) Seeprobe::socket.create(3stap)for details.socket.create.returnβ Return from Creation of a socket Seeprobe::socket.create.return(3stap)for details.socket.closeβ Close a socket π (it's giving goodbye) Seeprobe::socket.close(3stap)for details.socket.close.returnβ Return from closing a socket Seeprobe::socket.close.return(3stap)for details.
πΈ the helper functions πΈ
not just probes, bestie β there's a whole little conversion squad too π§
sock_prot_num2strβ Given a protocol number, return a string representation Seefunction::sock_prot_num2str(3stap)for details.sock_prot_str2numβ Given a protocol name (string), return the corresponding protocol number Seefunction::sock_prot_str2num(3stap)for details.sock_fam_num2strβ Given a protocol family number, return a string representation Seefunction::sock_fam_num2str(3stap)for details.sock_fam_str2numβ Given a protocol family name (string), return the corresponding protocol family number Seefunction::sock_fam_str2num(3stap)for details.sock_state_num2strβ Given a socket state number, return a string representation Seefunction::sock_state_num2str(3stap)for details.sock_state_str2numβ Given a socket state string, return the corresponding state number Seefunction::sock_state_str2num(3stap)for details.
π SEE ALSO π
go read these too, i'm obsessed with them actually:
function::sock_prot_num2str(3stap)function::sock_prot_str2num(3stap)function::sock_fam_num2str(3stap)function::sock_fam_str2num(3stap)function::sock_state_num2str(3stap)function::sock_state_str2num(3stap)probe::socket.send(3stap)probe::socket.receive(3stap)probe::socket.sendmsg(3stap)probe::socket.sendmsg.return(3stap)probe::socket.recvmsg(3stap)probe::socket.recvmsg.return(3stap)probe::socket.aio_write(3stap)probe::socket.aio_write.return(3stap)probe::socket.aio_read(3stap)probe::socket.aio_read.return(3stap)probe::socket.write_iter(3stap)probe::socket.write_iter.return(3stap)probe::socket.read_iter(3stap)probe::socket.read_iter.return(3stap)probe::socket.writev(3stap)probe::socket.writev.return(3stap)probe::socket.readv(3stap)probe::socket.readv.return(3stap)probe::socket.create(3stap)probe::socket.create.return(3stap)probe::socket.close(3stap)probe::socket.close.return(3stap)stap(1)stapprobes(3stap)
that's the whole page, no notes, we ate and left zero crumbs π
SystemTap Tapset Reference β September 2026 β and the page is TAPSET::SOCKET(3stap). slay, go probe something πβ¨
π¦ 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