diff options
author | fche <fche> | 2006-06-02 18:09:29 +0000 |
---|---|---|
committer | fche <fche> | 2006-06-02 18:09:29 +0000 |
commit | 6e3347a9815f4a457b6393a22f21b6f2c6b588af (patch) | |
tree | 601c0606344da1c306fe96ee32a264a29c42b5a0 /testsuite | |
parent | 988b22347d6598de909457326d9a7a470e3f631c (diff) | |
download | systemtap-steved-6e3347a9815f4a457b6393a22f21b6f2c6b588af.tar.gz systemtap-steved-6e3347a9815f4a457b6393a22f21b6f2c6b588af.tar.xz systemtap-steved-6e3347a9815f4a457b6393a22f21b6f2c6b588af.zip |
2006-06-02 Frank Ch. Eigler <fche@elastic.org>
PR 2645.
* stapprobes.5.in: Document "?" probe point suffix.
* parse.cxx (parse_probe_point): Recognize "?" optional suffix.
* elaborate.cxx (derive_probes): Observe probe_point->optional.
* staptree.h, staptree.cxx: Corresponding changes.
* tapsets.cxx (never_derived_probe, never_builder): New classes.
(register_standard_tapsets): Support "never" probe point.
* testsuite/buildok/six.stp, parseok/five.stp: Modifed tests.
* translate.cxx (emit_module_init): Format "-t" (benchmarking)
cycle-time reports similarly to "-v" (verbose) times.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/six.stp | 6 | ||||
-rwxr-xr-x | testsuite/parseok/five.stp | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/buildok/six.stp b/testsuite/buildok/six.stp index 589a8b44..2d9a40aa 100755 --- a/testsuite/buildok/six.stp +++ b/testsuite/buildok/six.stp @@ -4,6 +4,10 @@ # listed in PR 1155 we cannot resolve the parameters of the inline # at the moment. -probe kernel.inline("context_switch") { +probe kernel.inline("context_switch")? { log ("found an inline function") } + +probe never { + log ("or not ...") +} diff --git a/testsuite/parseok/five.stp b/testsuite/parseok/five.stp index b7690943..29ff5990 100755 --- a/testsuite/parseok/five.stp +++ b/testsuite/parseok/five.stp @@ -17,3 +17,4 @@ probe time.virtual.jiffies(100) {} probe perfcounter("tlbmiss").count(4000) {} probe resource.freemembelow(50) {} # pages? probe begin {} +probe something?, or?, nothing? {} |