diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-02-27 21:32:43 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-02-27 21:32:43 -0500 |
commit | 23220a9c611cd088418d108b3fa6d35aad177175 (patch) | |
tree | e7e459d81a344d958ff7739215f24e17db3324f1 /doc/tutorial/socket-trace.stp | |
parent | ed1f47c32969a60eb074dc246c79ccda456ebf58 (diff) | |
parent | 872a4b73dc80fd865d61f17911b84494e1f820d9 (diff) | |
download | systemtap-steved-23220a9c611cd088418d108b3fa6d35aad177175.tar.gz systemtap-steved-23220a9c611cd088418d108b3fa6d35aad177175.tar.xz systemtap-steved-23220a9c611cd088418d108b3fa6d35aad177175.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'doc/tutorial/socket-trace.stp')
-rw-r--r-- | doc/tutorial/socket-trace.stp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/tutorial/socket-trace.stp b/doc/tutorial/socket-trace.stp new file mode 100644 index 00000000..53b69ecc --- /dev/null +++ b/doc/tutorial/socket-trace.stp @@ -0,0 +1,6 @@ +probe kernel.function("*@net/socket.c") { + printf ("%s -> %s\n", thread_indent(1), probefunc()) +} +probe kernel.function("*@net/socket.c").return { + printf ("%s <- %s\n", thread_indent(-1), probefunc()) +} |