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

Kris Van Hees <[email protected]>
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
On Thu, Aug 14, 2025 at 05:26:20PM -0400, eugene.loh--- via DTrace-devel wrote:
> From: Eugene Loh <[email protected]>
> 
> Signed-off-by: Eugene Loh <[email protected]>

Reviewed-by: Kris Van Hees <[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
> 
> 
> _______________________________________________
> DTrace-devel mailing list
> [email protected]
> https://oss.oracle.com/mailman/listinfo/dtrace-devel
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.