| 1 |
.\" -*- nroff -*- |
| 2 |
.TH TAPSET::SOCKET 3stap "October 2025" "SystemTap Tapset Reference" |
| 3 |
.SH NAME |
| 4 |
tapset::socket \- systemtap socket tapset |
| 5 |
|
| 6 |
.SH DESCRIPTION |
| 7 |
|
| 8 |
This family of probe points is used to probe socket activities. |
| 9 |
|
| 10 |
.TP |
| 11 |
.P |
| 12 |
.TP |
| 13 |
.B socket.send |
| 14 |
Message sent on a socket. |
| 15 |
.IP |
| 16 |
See |
| 17 |
.IR probe::socket.send (3stap) |
| 18 |
for details. |
| 19 |
.P |
| 20 |
.TP |
| 21 |
.B socket.receive |
| 22 |
Message received on a socket. |
| 23 |
.IP |
| 24 |
See |
| 25 |
.IR probe::socket.receive (3stap) |
| 26 |
for details. |
| 27 |
.P |
| 28 |
.TP |
| 29 |
.B socket.sendmsg |
| 30 |
Message is currently being sent on a socket. |
| 31 |
.IP |
| 32 |
See |
| 33 |
.IR probe::socket.sendmsg (3stap) |
| 34 |
for details. |
| 35 |
.P |
| 36 |
.TP |
| 37 |
.B socket.sendmsg.return |
| 38 |
Return from socket.sendmsg. |
| 39 |
.IP |
| 40 |
See |
| 41 |
.IR probe::socket.sendmsg.return (3stap) |
| 42 |
for details. |
| 43 |
.P |
| 44 |
.TP |
| 45 |
.B socket.recvmsg |
| 46 |
Message being received on socket |
| 47 |
.IP |
| 48 |
See |
| 49 |
.IR probe::socket.recvmsg (3stap) |
| 50 |
for details. |
| 51 |
.P |
| 52 |
.TP |
| 53 |
.B socket.recvmsg.return |
| 54 |
Return from Message being received on socket |
| 55 |
.IP |
| 56 |
See |
| 57 |
.IR probe::socket.recvmsg.return (3stap) |
| 58 |
for details. |
| 59 |
.P |
| 60 |
.TP |
| 61 |
.B socket.aio_write |
| 62 |
Message send via sock_aio_write() |
| 63 |
.IP |
| 64 |
See |
| 65 |
.IR probe::socket.aio_write (3stap) |
| 66 |
for details. |
| 67 |
.P |
| 68 |
.TP |
| 69 |
.B socket.aio_write.return |
| 70 |
Conclusion of message send via sock_aio_write() |
| 71 |
.IP |
| 72 |
See |
| 73 |
.IR probe::socket.aio_write.return (3stap) |
| 74 |
for details. |
| 75 |
.P |
| 76 |
.TP |
| 77 |
.B socket.aio_read |
| 78 |
Receiving message via sock_aio_read() |
| 79 |
.IP |
| 80 |
See |
| 81 |
.IR probe::socket.aio_read (3stap) |
| 82 |
for details. |
| 83 |
.P |
| 84 |
.TP |
| 85 |
.B socket.aio_read.return |
| 86 |
Conclusion of message received via sock_aio_read() |
| 87 |
.IP |
| 88 |
See |
| 89 |
.IR probe::socket.aio_read.return (3stap) |
| 90 |
for details. |
| 91 |
.P |
| 92 |
.TP |
| 93 |
.B socket.write_iter |
| 94 |
Message send via sock_write_iter() |
| 95 |
.IP |
| 96 |
See |
| 97 |
.IR probe::socket.write_iter (3stap) |
| 98 |
for details. |
| 99 |
.P |
| 100 |
.TP |
| 101 |
.B socket.write_iter.return |
| 102 |
Conclusion of message send via sock_write_iter() |
| 103 |
.IP |
| 104 |
See |
| 105 |
.IR probe::socket.write_iter.return (3stap) |
| 106 |
for details. |
| 107 |
.P |
| 108 |
.TP |
| 109 |
.B socket.read_iter |
| 110 |
Receiving message via sock_read_iter() |
| 111 |
.IP |
| 112 |
See |
| 113 |
.IR probe::socket.read_iter (3stap) |
| 114 |
for details. |
| 115 |
.P |
| 116 |
.TP |
| 117 |
.B socket.read_iter.return |
| 118 |
Conclusion of message received via sock_read_iter() |
| 119 |
.IP |
| 120 |
See |
| 121 |
.IR probe::socket.read_iter.return (3stap) |
| 122 |
for details. |
| 123 |
.P |
| 124 |
.TP |
| 125 |
.B socket.writev |
| 126 |
Message sent via socket_writev() |
| 127 |
.IP |
| 128 |
See |
| 129 |
.IR probe::socket.writev (3stap) |
| 130 |
for details. |
| 131 |
.P |
| 132 |
.TP |
| 133 |
.B socket.writev.return |
| 134 |
Conclusion of message sent via socket_writev() |
| 135 |
.IP |
| 136 |
See |
| 137 |
.IR probe::socket.writev.return (3stap) |
| 138 |
for details. |
| 139 |
.P |
| 140 |
.TP |
| 141 |
.B socket.readv |
| 142 |
Receiving a message via sock_readv() |
| 143 |
.IP |
| 144 |
See |
| 145 |
.IR probe::socket.readv (3stap) |
| 146 |
for details. |
| 147 |
.P |
| 148 |
.TP |
| 149 |
.B socket.readv.return |
| 150 |
Conclusion of receiving a message via sock_readv() |
| 151 |
.IP |
| 152 |
See |
| 153 |
.IR probe::socket.readv.return (3stap) |
| 154 |
for details. |
| 155 |
.P |
| 156 |
.TP |
| 157 |
.B socket.create |
| 158 |
Creation of a socket |
| 159 |
.IP |
| 160 |
See |
| 161 |
.IR probe::socket.create (3stap) |
| 162 |
for details. |
| 163 |
.P |
| 164 |
.TP |
| 165 |
.B socket.create.return |
| 166 |
Return from Creation of a socket |
| 167 |
.IP |
| 168 |
See |
| 169 |
.IR probe::socket.create.return (3stap) |
| 170 |
for details. |
| 171 |
.P |
| 172 |
.TP |
| 173 |
.B socket.close |
| 174 |
Close a socket |
| 175 |
.IP |
| 176 |
See |
| 177 |
.IR probe::socket.close (3stap) |
| 178 |
for details. |
| 179 |
.P |
| 180 |
.TP |
| 181 |
.B socket.close.return |
| 182 |
Return from closing a socket |
| 183 |
.IP |
| 184 |
See |
| 185 |
.IR probe::socket.close.return (3stap) |
| 186 |
for details. |
| 187 |
.P |
| 188 |
.TP |
| 189 |
.B sock_prot_num2str |
| 190 |
Given a protocol number, return a string representation |
| 191 |
.IP |
| 192 |
See |
| 193 |
.IR function::sock_prot_num2str (3stap) |
| 194 |
for details. |
| 195 |
.P |
| 196 |
.TP |
| 197 |
.B sock_prot_str2num |
| 198 |
Given a protocol name (string), return the corresponding protocol number |
| 199 |
.IP |
| 200 |
See |
| 201 |
.IR function::sock_prot_str2num (3stap) |
| 202 |
for details. |
| 203 |
.P |
| 204 |
.TP |
| 205 |
.B sock_fam_num2str |
| 206 |
Given a protocol family number, return a string representation |
| 207 |
.IP |
| 208 |
See |
| 209 |
.IR function::sock_fam_num2str (3stap) |
| 210 |
for details. |
| 211 |
.P |
| 212 |
.TP |
| 213 |
.B sock_fam_str2num |
| 214 |
Given a protocol family name (string), return the corresponding protocol family number |
| 215 |
.IP |
| 216 |
See |
| 217 |
.IR function::sock_fam_str2num (3stap) |
| 218 |
for details. |
| 219 |
.P |
| 220 |
.TP |
| 221 |
.B sock_state_num2str |
| 222 |
Given a socket state number, return a string representation |
| 223 |
.IP |
| 224 |
See |
| 225 |
.IR function::sock_state_num2str (3stap) |
| 226 |
for details. |
| 227 |
.P |
| 228 |
.TP |
| 229 |
.B sock_state_str2num |
| 230 |
Given a socket state string, return the corresponding state number |
| 231 |
.IP |
| 232 |
See |
| 233 |
.IR function::sock_state_str2num (3stap) |
| 234 |
for details. |
| 235 |
|
| 236 |
.SH SEE ALSO |
| 237 |
.BR |
| 238 |
.IR \%function::sock_prot_num2str (3stap), |
| 239 |
.BR |
| 240 |
.IR \%function::sock_prot_str2num (3stap), |
| 241 |
.BR |
| 242 |
.IR \%function::sock_fam_num2str (3stap), |
| 243 |
.BR |
| 244 |
.IR \%function::sock_fam_str2num (3stap), |
| 245 |
.BR |
| 246 |
.IR \%function::sock_state_num2str (3stap), |
| 247 |
.BR |
| 248 |
.IR \%function::sock_state_str2num (3stap), |
| 249 |
.BR |
| 250 |
.IR \%probe::socket.send (3stap), |
| 251 |
.BR |
| 252 |
.IR \%probe::socket.receive (3stap), |
| 253 |
.BR |
| 254 |
.IR \%probe::socket.sendmsg (3stap), |
| 255 |
.BR |
| 256 |
.IR \%probe::socket.sendmsg.return (3stap), |
| 257 |
.BR |
| 258 |
.IR \%probe::socket.recvmsg (3stap), |
| 259 |
.BR |
| 260 |
.IR \%probe::socket.recvmsg.return (3stap), |
| 261 |
.BR |
| 262 |
.IR \%probe::socket.aio_write (3stap), |
| 263 |
.BR |
| 264 |
.IR \%probe::socket.aio_write.return (3stap), |
| 265 |
.BR |
| 266 |
.IR \%probe::socket.aio_read (3stap), |
| 267 |
.BR |
| 268 |
.IR \%probe::socket.aio_read.return (3stap), |
| 269 |
.BR |
| 270 |
.IR \%probe::socket.write_iter (3stap), |
| 271 |
.BR |
| 272 |
.IR \%probe::socket.write_iter.return (3stap), |
| 273 |
.BR |
| 274 |
.IR \%probe::socket.read_iter (3stap), |
| 275 |
.BR |
| 276 |
.IR \%probe::socket.read_iter.return (3stap), |
| 277 |
.BR |
| 278 |
.IR \%probe::socket.writev (3stap), |
| 279 |
.BR |
| 280 |
.IR \%probe::socket.writev.return (3stap), |
| 281 |
.BR |
| 282 |
.IR \%probe::socket.readv (3stap), |
| 283 |
.BR |
| 284 |
.IR \%probe::socket.readv.return (3stap), |
| 285 |
.BR |
| 286 |
.IR \%probe::socket.create (3stap), |
| 287 |
.BR |
| 288 |
.IR \%probe::socket.create.return (3stap), |
| 289 |
.BR |
| 290 |
.IR \%probe::socket.close (3stap), |
| 291 |
.BR |
| 292 |
.IR \%probe::socket.close.return (3stap), |
| 293 |
.BR |
| 294 |
.IR \%stap (1), |
| 295 |
.IR \%stapprobes (3stap) |