test: Add tcp to expected providers
PATCH 1/1 test: Add tcp to expected providers
From: Eugene Loh <[email protected]>
Signed-off-by Eugene Loh <[email protected]>
--- test/unittest/dtrace-util/tst.ListProbes.r | 1 + test/unittest/dtrace-util/tst.ListProbes.sh | 1 + 2 files changed, 2 insertions(+)
test/unittest/dtrace-util/tst.ListProbes.r +1 -0
@@ -11,3 +11,4 @@ rawtp sched sdt syscall +tcp
test/unittest/dtrace-util/tst.ListProbes.sh +1 -0
@@ -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.
Signature · 1 line
2.43.5
Quoted 3 lines · On 05/08/2025 21:18, [email protected] wrote:
From: Eugene Loh <[email protected]>
Signed-off-by Eugene Loh <[email protected]>
Reviewed-by Alan Maguire <[email protected]>
Quoted 26 lines
--- test/unittest/dtrace-util/tst.ListProbes.r | 1 + test/unittest/dtrace-util/tst.ListProbes.sh | 1 + 2 files changed, 2 insertions(+)test/unittest/dtrace-util/tst.ListProbes.r +1
-0@@ -11,3 +11,4 @@ rawtp sched sdt syscall +tcptest/unittest/dtrace-util/tst.ListProbes.sh +1
-0@@ -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.