summaryrefslogtreecommitdiffstats
path: root/testsuite/semok
diff options
context:
space:
mode:
authorfche <fche>2005-03-15 22:38:27 +0000
committerfche <fche>2005-03-15 22:38:27 +0000
commit9c0c0e4652824a0bf8f4da2175278b129fac6809 (patch)
treec560854f3933fa4cfcf397c9fd040da913bd98bb /testsuite/semok
parent204b456c7c08bc40ffe1f21575461d92a544e92b (diff)
downloadsystemtap-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/semok')
-rwxr-xr-xtestsuite/semok/four.stp2
-rwxr-xr-xtestsuite/semok/one.stp2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/semok/four.stp b/testsuite/semok/four.stp
index e11b644a..c3b2a7d0 100755
--- a/testsuite/semok/four.stp
+++ b/testsuite/semok/four.stp
@@ -17,7 +17,7 @@ function stamp (syscall)
# probe kernel:syscall:read = kernel:function("sys_read");
-probe kernel:syscall:read
+probe syscall ("read")
{
stamp ("read");
}
diff --git a/testsuite/semok/one.stp b/testsuite/semok/one.stp
index fb7483e2..336e57d2 100755
--- a/testsuite/semok/one.stp
+++ b/testsuite/semok/one.stp
@@ -19,7 +19,7 @@ function stamp (syscall)
# probe kernel:syscall:read = kernel:function("sys_read");
-probe kernel:syscall:read
+probe syscall ("read")
{
stamp ("read");
}