| Current Path : /usr/share/systemtap/examples/network/ |
| Current File : //usr/share/systemtap/examples/network/socket-trace.stp |
#!/usr/bin/stap
probe kernel.function("*@net/socket.c").call {
printf ("%s -> %s\n", thread_indent(1), ppfunc())
}
probe kernel.function("*@net/socket.c").return {
printf ("%s <- %s\n", thread_indent(-1), ppfunc())
}