[DTrace-devel] [PATCH 3/3] test: sdt:task::task_rename takes only 4 args on newer kernels

Eugene Loh eugene.loh at oracle.com
Mon Jul 21 17:11:11 UTC 2025


Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
subject to:

1)  Updated copyright year.
2)  Use this patch to fix pre-existing typo in the ASSERTION comment:
         s/should not displayed/should not be displayed/
3)  Remove the "print" in the patch.  (I'm assuming that is not supposed 
to be in the patch.  Leftover debugging?)

On 7/21/25 09:35, Kris Van Hees wrote:
> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
> ---
>   test/unittest/disasm/tst.vartab-bvar.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/unittest/disasm/tst.vartab-bvar.sh b/test/unittest/disasm/tst.vartab-bvar.sh
> index ce489a24..1ce29611 100755
> --- a/test/unittest/disasm/tst.vartab-bvar.sh
> +++ b/test/unittest/disasm/tst.vartab-bvar.sh
> @@ -32,7 +32,6 @@ sdt:task::task_rename
>   	trace(args[0]);
>   	trace(args[1]);
>   	trace(args[2]);
> -	trace(args[3]);
>   	trace(caller);
>   	trace(curcpu);
>   	trace(curthread);
> @@ -60,6 +59,7 @@ sdt:task::task_rename
>   	exit(0);
>   }
>   ' 2>&1 | gawk '
> +{ print; }
>   BEGIN {
>   	rc = 1;
>   }



More information about the DTrace-devel mailing list