summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/thirtyone.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-04-25 21:47:54 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-04-26 10:27:42 -0400
commit88747011872d35bdb5dac1a01569e88b385d0519 (patch)
treeb300aa5eb7b2e49f60407df14f004ace8f04394b /testsuite/buildok/thirtyone.stp
parent82b6fb210c651e7c5a742e187d7ff664bd22705d (diff)
downloadsystemtap-steved-88747011872d35bdb5dac1a01569e88b385d0519.tar.gz
systemtap-steved-88747011872d35bdb5dac1a01569e88b385d0519.tar.xz
systemtap-steved-88747011872d35bdb5dac1a01569e88b385d0519.zip
fix kprobe.* probes so they don't break -p4 if script also has kernel.* probes
* tapsets.cxx (kprobe_derived_probe): Use enter_k[ret]probe>>2<<_probe. * testsuite/buildok/thirtyone.stp: Test this.
Diffstat (limited to 'testsuite/buildok/thirtyone.stp')
-rwxr-xr-xtestsuite/buildok/thirtyone.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/buildok/thirtyone.stp b/testsuite/buildok/thirtyone.stp
new file mode 100755
index 00000000..8a97d84f
--- /dev/null
+++ b/testsuite/buildok/thirtyone.stp
@@ -0,0 +1,4 @@
+#! stap -p4
+
+probe kprobe.function("sys_open") {}
+probe kernel.function("sys_close") {}