diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-04-25 21:47:54 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-04-26 10:27:42 -0400 |
commit | 88747011872d35bdb5dac1a01569e88b385d0519 (patch) | |
tree | b300aa5eb7b2e49f60407df14f004ace8f04394b /testsuite/buildok/thirtyone.stp | |
parent | 82b6fb210c651e7c5a742e187d7ff664bd22705d (diff) | |
download | systemtap-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-x | testsuite/buildok/thirtyone.stp | 4 |
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") {} |