]> sourceware.org Git - systemtap.git/commitdiff
2007-01-30 Frank Ch. Eigler <fche@elastic.org>
authorfche <fche>
Tue, 30 Jan 2007 15:03:27 +0000 (15:03 +0000)
committerfche <fche>
Tue, 30 Jan 2007 15:03:27 +0000 (15:03 +0000)
* socket-trace.stp: Added from the tutorial.

examples/ChangeLog
examples/socket-trace.stp [new file with mode: 0644]

index 93896c9b21ee93b6872c7e8ad09fd5aea93b6899..0d32fe3aae65d7a45d993e1f9f278394969775a7 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-30  Frank Ch. Eigler  <fche@elastic.org>
+
+       * socket-trace.stp: Added from the tutorial.
+
 2007-01-29  Mike Mason <mmlnx@us.ibm.com>
 
        * socktop, socktop.txt: New example that uses a shell script to process
@@ -15,7 +19,7 @@
 
 2007-01-01  Frank Ch. Eigler  <fche@redhat.com>
 
-        * *: Added several .stp/.txt files from the wiki.
+       * *: Added several .stp/.txt files from the wiki.
 
 2006-04-20  Martin Hunt  <hunt@redhat.com>
 
diff --git a/examples/socket-trace.stp b/examples/socket-trace.stp
new file mode 100644 (file)
index 0000000..53b69ec
--- /dev/null
@@ -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())
+}
This page took 0.027746 seconds and 5 git commands to generate.