]> sourceware.org Git - systemtap.git/commitdiff
Add examples that show generation of error messages.
authorWilliam Cohen <wcohen@redhat.com>
Thu, 20 Nov 2008 01:03:45 +0000 (20:03 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Thu, 20 Nov 2008 01:03:45 +0000 (20:03 -0500)
doc/SystemTap_Beginners_Guide/en-US/extras/perror.stp [new file with mode: 0644]
doc/SystemTap_Beginners_Guide/en-US/extras/werror.stp [new file with mode: 0644]

diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/perror.stp b/doc/SystemTap_Beginners_Guide/en-US/extras/perror.stp
new file mode 100644 (file)
index 0000000..947efbd
--- /dev/null
@@ -0,0 +1,2 @@
+probe vfs.read
+probe vfs.write
diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/werror.stp b/doc/SystemTap_Beginners_Guide/en-US/extras/werror.stp
new file mode 100644 (file)
index 0000000..075607a
--- /dev/null
@@ -0,0 +1 @@
+probe begin { printf("x") = 1 }
This page took 0.02927 seconds and 5 git commands to generate.