summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/control_limits.stp
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-02-20 14:56:38 +0100
committerMark Wielaard <mjw@redhat.com>2009-02-20 14:56:38 +0100
commit02615365a92ca2570c1f96abc8a97674aa2ccae1 (patch)
treeebedfd91a0f6d299b39e84295e091e12c0767dc8 /testsuite/systemtap.samples/control_limits.stp
parentc3bad3042df505a3470f1e20b09822a9df1d4761 (diff)
parentadc67597f327cd43d58b1d0cb740dab14a75a058 (diff)
downloadsystemtap-steved-02615365a92ca2570c1f96abc8a97674aa2ccae1.tar.gz
systemtap-steved-02615365a92ca2570c1f96abc8a97674aa2ccae1.tar.xz
systemtap-steved-02615365a92ca2570c1f96abc8a97674aa2ccae1.zip
Merge branch 'master' into pr6866
Conflicts: ChangeLog: Removed runtime/ChangeLog: Removed runtime/sym.c: Merged runtime/task_finder.c: Merged tapset/ChangeLog: Removed testsuite/ChangeLog: Removed
Diffstat (limited to 'testsuite/systemtap.samples/control_limits.stp')
-rw-r--r--testsuite/systemtap.samples/control_limits.stp24
1 files changed, 0 insertions, 24 deletions
diff --git a/testsuite/systemtap.samples/control_limits.stp b/testsuite/systemtap.samples/control_limits.stp
deleted file mode 100644
index 89b0bae4..00000000
--- a/testsuite/systemtap.samples/control_limits.stp
+++ /dev/null
@@ -1,24 +0,0 @@
-
-# for MAXNESTING testing
-function recurse (n) {
- if (n > 0) recurse (n-1)
-}
-probe begin {
- recurse (7)
-}
-
-# for MAXACTION testing
-probe begin {
- for (i=0; i<498; i++) {}
-}
-
-# for MAXSTRINGLEN testing
-probe begin {
- s = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678" # last 8 will be \0'd
- if (strlen(s) < 127) error ("MAXSTRINGLEN reduced")
- if (strlen(s) > 127) error ("MAXSTRINGLEN enlarged")
-}
-
-
-probe begin { exit () }
-