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

Kris Van Hees kris.van.hees at oracle.com
Thu Aug 14 21:31:08 UTC 2025


On Thu, Aug 14, 2025 at 05:26:20PM -0400, eugene.loh--- via DTrace-devel wrote:
> From: Eugene Loh <eugene.loh at oracle.com>
> 
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>

Reviewed-by: Kris Van Hees <kris.van.hees 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
> 
> 
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel



More information about the DTrace-devel mailing list