[DTrace-devel] [PATCH] test: Add tcp to expected providers
eugene.loh at oracle.com
eugene.loh at oracle.com
Tue Aug 5 20:18:41 UTC 2025
From: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Eugene Loh <eugene.loh 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 a04669843..ad557253f 100644
--- a/test/unittest/dtrace-util/tst.ListProbes.r
+++ b/test/unittest/dtrace-util/tst.ListProbes.r
@@ -11,3 +11,4 @@ rawtp
sched
sdt
syscall
+tcp
diff --git a/test/unittest/dtrace-util/tst.ListProbes.sh b/test/unittest/dtrace-util/tst.ListProbes.sh
index 84f363443..a747a0458 100755
--- a/test/unittest/dtrace-util/tst.ListProbes.sh
+++ b/test/unittest/dtrace-util/tst.ListProbes.sh
@@ -69,6 +69,7 @@ $dtrace $dt_flags -l \
$2 == "sched" { mycheck($2, $1, 3, 30); next }
$2 == "sdt" { mycheck($2, $1, 600, 6000); next }
$2 == "syscall" { mycheck($2, $1, 300, 3000); next }
+ $2 == "tcp" { mycheck($2, $1, 8, 8); next }
# nothing for usdt
# Unrecognized line.
--
2.43.5
More information about the DTrace-devel
mailing list