[DTrace-devel] [PATCH 5/5] test: Add udp to expecetd providers
Eugene Loh
eugene.loh at oracle.com
Thu Aug 28 18:16:07 UTC 2025
s/expecetd/expected/
but really I think this should be squashed to the 1/5 patch.
On 8/22/25 14:16, Alan Maguire via DTrace-devel wrote:
> Signed-off-by: Alan Maguire <alan.maguire at oracle.com>
> ---
> test/unittest/dtrace-util/tst.ListProbes.r | 1 +
> test/unittest/dtrace-util/tst.ListProbes.sh | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/test/unittest/dtrace-util/tst.ListProbes.r b/test/unittest/dtrace-util/tst.ListProbes.r
> index ad557253..a1e185d4 100644
> --- a/test/unittest/dtrace-util/tst.ListProbes.r
> +++ b/test/unittest/dtrace-util/tst.ListProbes.r
> @@ -12,3 +12,4 @@ sched
> sdt
> syscall
> tcp
> +udp
> diff --git a/test/unittest/dtrace-util/tst.ListProbes.sh b/test/unittest/dtrace-util/tst.ListProbes.sh
> index a747a045..744bb8ad 100755
> --- a/test/unittest/dtrace-util/tst.ListProbes.sh
> +++ b/test/unittest/dtrace-util/tst.ListProbes.sh
> @@ -70,6 +70,7 @@ $dtrace $dt_flags -l \
> $2 == "sdt" { mycheck($2, $1, 600, 6000); next }
> $2 == "syscall" { mycheck($2, $1, 300, 3000); next }
> $2 == "tcp" { mycheck($2, $1, 8, 8); next }
> + $2 == "udp" { mycheck($2, $1, 2, 2); next }
> # nothing for usdt
>
> # Unrecognized line.
More information about the DTrace-devel
mailing list