summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--stap.1.in29
-rw-r--r--stapex.5.in18
-rw-r--r--staprun.8.in30
4 files changed, 17 insertions, 65 deletions
diff --git a/ChangeLog b/ChangeLog
index f85bbd84..47584424 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-04 Frank Ch. Eigler <fche@redhat.com>
+
+ * stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove
+ authors credits, update examples and pointers.
+
2007-02-28 David Smith <dsmith@redhat.com>
* systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in
diff --git a/stap.1.in b/stap.1.in
index 079fb1a4..8b3065e6 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -875,32 +875,7 @@ unloading.
.IR gdb (1)
.SH BUGS
-There are numerous missing features and possibly numerous bugs. Use
-the Bugzilla link off of the project web page:
+Use the Bugzilla link off of the project web page or our mailing list.
.nh
-.BR http://sources.redhat.com/systemtap/ .
+.BR http://sources.redhat.com/systemtap/ , <systemtap@sources.redhat.com> .
.hy
-
-.SH AUTHORS
-The
-.IR stap
-translator was written by Frank Ch. Eigler and Graydon Hoare. The
-kernel-side runtime library and the user-level
-.IR staprun
-daemon was written by Martin Hunt and Tom Zanussi. Contact them
-using the public mailing list:
-.nh
-.BR <systemtap@sources.redhat.com> .
-.hy
-
-.SH ACKNOWLEDGEMENTS
-The primary probing mechanism uses IBM's
-.IR kprobes ,
-and
-.IR relayfs
-packages, which were improved and ported by IBM and Intel staff.
-The elfutils library from Ulrich Drepper and Roland McGrath is used
-to process dwarf debugging information. Many project members contributed
-to the overall design and priorities of the system, including Will Cohen,
-Jim Keniston, Vara Prasad, and Brad Chen.
-
diff --git a/stapex.5.in b/stapex.5.in
index d43edda0..f8f61c32 100644
--- a/stapex.5.in
+++ b/stapex.5.in
@@ -36,10 +36,10 @@ probe begin {
probe end {
foreach (x+ in odds) {
- log("odds[" . sprint(x) . "] = " . sprint(odds[x]))
+ printf ("odds[%d] = %d\n", x, odds[x])
}
foreach (x in evens\-) {
- log("evens[" . sprint(x) . "] = " . sprint(evens[x]))
+ printf ("evens[%d] = %d\n", x, evens[x])
}
}
.ESAMPLE
@@ -52,12 +52,10 @@ odds[5] = 9
evens[5] = 8
evens[4] = 6
evens[2] = 2
+evens[1] = 0
.ESAMPLE
-Note that the evens[1] key is missing, since its value was zero. Any
-array element with an "empty" value (zero or empty string) is
-considered not present in the array, as if it was deleted. Note that
-all variables types are inferred, and that all locals and globals are
-initialized.
+Note that all variables types are inferred, and that all locals
+and globals are automatically initialized.
.PP
This script prints the primes between 0 and 49.
@@ -72,7 +70,7 @@ function isprime (x) {
}
probe begin {
for (i=0; i<50; i++)
- if (isprime (i)) log (sprint(i))
+ if (isprime (i)) printf("%d\n", i)
exit()
}
.ESAMPLE
@@ -87,7 +85,7 @@ function fibonacci(i) {
return fibonacci (i\-1) + fibonacci (i\-2)
}
probe begin {
- log ("11th fibonacci number: " . sprint (fibonacci (11)))
+ printf ("11th fibonacci number: %d\n", fibonacci (11))
exit ()
}
.ESAMPLE
@@ -110,8 +108,8 @@ each inlined function instance is listed separately.
% stap \-p2 \-e \[aq]probe kernel.function("*") {}\[aq] | sort | uniq
.ESAMPLE
-
.SH SEE ALSO
+.BR @prefix@/doc/systemtap*/examples
.IR stap (1)
.IR stapprobes (5)
.IR stapfuncs (5)
diff --git a/staprun.8.in b/staprun.8.in
index f4032309..acfb90af 100644
--- a/staprun.8.in
+++ b/staprun.8.in
@@ -116,34 +116,8 @@ manual page for more information on safety and security.
.IR sudo (8)
.SH BUGS
-There are numerous missing features and possibly numerous bugs. Use
-the Bugzilla link off of the project web page:
+Use the Bugzilla link off of the project web page or our mailing list.
.nh
-.BR http://sources.redhat.com/systemtap/ .
+.BR http://sources.redhat.com/systemtap/ , <systemtap@sources.redhat.com> .
.hy
-.SH AUTHORS
-The
-kernel-side runtime library and the user-level
-.IR staprun
-daemon was written by Martin Hunt and Tom Zanussi.
-The
-.IR stap
-translator was written by Frank Ch. Eigler and Graydon Hoare.
-Contact them
-using the public mailing list:
-.nh
-.BR <systemtap@sources.redhat.com> .
-.hy
-
-.SH ACKNOWLEDGEMENTS
-The primary probing mechanism uses IBM's
-.IR kprobes ,
-and
-.IR relayfs
-packages, which were improved and ported by IBM and Intel staff.
-The elfutils library from Ulrich Drepper and Roland McGrath is used
-to process dwarf debugging information. Many project members contributed
-to the overall design and priorities of the system, including Will Cohen,
-Jim Keniston, Vara Prasad, and Brad Chen.
-