diff options
author | jistone <jistone> | 2006-08-22 20:55:59 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-08-22 20:55:59 +0000 |
commit | 13d2ecdb6895bc9f2e0d1db9db478a953f3c1efe (patch) | |
tree | 8b5e860cfa2f32a36dd7cd75b41844e99f8fbdc3 /stapex.5.in | |
parent | a7fe5d78564079419d3084a6fee9e523a1b41f65 (diff) | |
download | systemtap-steved-13d2ecdb6895bc9f2e0d1db9db478a953f3c1efe.tar.gz systemtap-steved-13d2ecdb6895bc9f2e0d1db9db478a953f3c1efe.tar.xz systemtap-steved-13d2ecdb6895bc9f2e0d1db9db478a953f3c1efe.zip |
2006-08-22 Josh Stone <joshua.i.stone@intel.com>
PR 3094
From Eugeniy Meshcheryakov <eugen@debian.org>:
* stap.1.in: In groff, '-' produces a Unicode hyphen. Use '\-'
where a plain-old minus sign is desired, e.g., code examples.
* lket.5.in, stapex.5.in, stapfuncs.5.in, stapprobes.5.in: ditto
Diffstat (limited to 'stapex.5.in')
-rw-r--r-- | stapex.5.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stapex.5.in b/stapex.5.in index 42c4e4d8..d43edda0 100644 --- a/stapex.5.in +++ b/stapex.5.in @@ -38,7 +38,7 @@ probe end { foreach (x+ in odds) { log("odds[" . sprint(x) . "] = " . sprint(odds[x])) } - foreach (x in evens-) { + foreach (x in evens\-) { log("evens[" . sprint(x) . "] = " . sprint(evens[x])) } } @@ -84,7 +84,7 @@ function fibonacci(i) { if (i < 1) error ("bad number") if (i == 1) return 1 if (i == 2) return 2 - return fibonacci (i-1) + fibonacci (i-2) + return fibonacci (i\-1) + fibonacci (i\-2) } probe begin { log ("11th fibonacci number: " . sprint (fibonacci (11))) @@ -107,7 +107,7 @@ To list the probeable functions in the kernel, use the last-pass option to the translator. That output needs to be filtered because each inlined function instance is listed separately. .SAMPLE -% stap -p2 -e \[aq]probe kernel.function("*") {}\[aq] | sort | uniq +% stap \-p2 \-e \[aq]probe kernel.function("*") {}\[aq] | sort | uniq .ESAMPLE |