diff options
author | fche <fche> | 2005-03-15 22:38:27 +0000 |
---|---|---|
committer | fche <fche> | 2005-03-15 22:38:27 +0000 |
commit | 9c0c0e4652824a0bf8f4da2175278b129fac6809 (patch) | |
tree | c560854f3933fa4cfcf397c9fd040da913bd98bb /testsuite/parseok/two.stp | |
parent | 204b456c7c08bc40ffe1f21575461d92a544e92b (diff) | |
download | systemtap-steved-9c0c0e4652824a0bf8f4da2175278b129fac6809.tar.gz systemtap-steved-9c0c0e4652824a0bf8f4da2175278b129fac6809.tar.xz systemtap-steved-9c0c0e4652824a0bf8f4da2175278b129fac6809.zip |
2005-03-15 Frank Ch. Eigler <fche@redhat.com>
* TODO: New file. Include some probe-point-provider syntax examples.
* parse.cxx (lexer::scan, parser::parse_literal): Support hex, octal
numbers via strtol.
(parse_probe, parse_probe_point): Modify for dotted syntax.
* staptree.cxx: Ditto.
* parsetest.cxx, semtest.cxx: Print parse/sem results even if
.stp files were given on command line.
* parse.h, staptree.h: Rename probe_point_spec -> probe_point.
* runtest.sh: New test-runner front-end script.
* Makefile.am: Use it for TESTS_ENVIRONMENT.
* testsuite/*: Update probe point syntax. Add a bunch of new tests.
Diffstat (limited to 'testsuite/parseok/two.stp')
-rwxr-xr-x | testsuite/parseok/two.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/parseok/two.stp b/testsuite/parseok/two.stp index 6ab3823e..b6b843de 100755 --- a/testsuite/parseok/two.stp +++ b/testsuite/parseok/two.stp @@ -1,6 +1,6 @@ #! parsetest -probe kernel:systemcall("foo") +probe syscall (231) { array[idx] << value; if (global > 5) { global -- } else ; @@ -11,7 +11,7 @@ function foo () { return 0; } -probe systemtap:end +probe end { foo ("value", 4+8); } |