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

eugene.loh at oracle.com eugene.loh at oracle.com
Thu Aug 14 21:26:20 UTC 2025


From: Eugene Loh <eugene.loh at oracle.com>

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
 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




More information about the DTrace-devel mailing list