summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-06-13 18:21:06 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-06-13 18:21:06 -0400
commitf07c3b680a722e27ed55bb5c9719fa5827ebfc75 (patch)
treea109e4a1fbae2b84ce8e8fa3724d97298a124012 /testsuite/buildok
parentb818f048bb5edca2bde3b33fdbe7e42451eb3c6e (diff)
downloadsystemtap-steved-f07c3b680a722e27ed55bb5c9719fa5827ebfc75.tar.gz
systemtap-steved-f07c3b680a722e27ed55bb5c9719fa5827ebfc75.tar.xz
systemtap-steved-f07c3b680a722e27ed55bb5c9719fa5827ebfc75.zip
PR10279: add -DKRETACTIVE=nnnn parameter
* tapsets.cxx (dwarf/kprobe_derived_...::emit_decl/init): Define and use KRETPROBE instead of hard-coded max(...) values. Raise the default 50%. * testsuite/buildok/thirtytwo.stp: New test.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/thirtytwo.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/buildok/thirtytwo.stp b/testsuite/buildok/thirtytwo.stp
new file mode 100755
index 00000000..d97aa50b
--- /dev/null
+++ b/testsuite/buildok/thirtytwo.stp
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+stap -t -p4 -DKRETACTIVE=8888 -e '
+probe kprobe.function("sys_open").return {}
+probe kprobe.function("sys_open").return.maxactive(100) {}
+probe kernel.function("sys_open").return {}
+probe kernel.function("sys_open").return.maxactive(100) {}
+probe syscall.*.return {}
+'
+