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/buildok/six.stp | |
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/buildok/six.stp')
-rwxr-xr-x | testsuite/buildok/six.stp | 6 |
1 files changed, 5 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 ...") +} |