[PATCH] test: Use a more ubiquitous probe for return()-action tests

[email protected]
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
From: Eugene Loh <[email protected]>

Signed-off-by: Eugene Loh <[email protected]>
---
 test/unittest/actions/return/err.destructive.d | 2 +-
 test/unittest/actions/return/tst.destructive.d | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/unittest/actions/return/err.destructive.d b/test/unittest/actions/return/err.destructive.d
index 4c6f788ec..9beefbf66 100644
--- a/test/unittest/actions/return/err.destructive.d
+++ b/test/unittest/actions/return/err.destructive.d
@@ -19,7 +19,7 @@ BEGIN
 	exit(0);
 }
 
-rawfbt:btrfs:open_ctree:entry
+rawfbt:vmlinux:__*_sys_getpid:entry
 /ok/
 {
 	return(0);
diff --git a/test/unittest/actions/return/tst.destructive.d b/test/unittest/actions/return/tst.destructive.d
index f1d9e4d32..25813b2cb 100644
--- a/test/unittest/actions/return/tst.destructive.d
+++ b/test/unittest/actions/return/tst.destructive.d
@@ -20,7 +20,7 @@ BEGIN
 	exit(0);
 }
 
-rawfbt:btrfs:open_ctree:entry
+rawfbt:vmlinux:__*_sys_getpid:entry
 /ok/
 {
 	return(0);
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.