Skip to contentSkip to conversation

test: Add tcp to expected providers

PATCH In review [email protected] 2 participants 2 messages Aug 5, 2025 – Aug 6, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: Add tcp to expected providers

From: 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
index a04669843..ad557253f 100644
@@ -11,3 +11,4 @@ rawtp
 sched
 sdt
 syscall
+tcp
test/unittest/dtrace-util/tst.ListProbes.sh +1 -0
index 84f363443..a747a0458 100755
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · On 05/08/2025 21:18, [email protected] wrote:

From: Eugene Loh <[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
index a04669843..ad557253f 100644
@@ -11,3 +11,4 @@ rawtp
 sched
 sdt
 syscall
+tcp
test/unittest/dtrace-util/tst.ListProbes.sh +1 -0
index 84f363443..a747a0458 100755
@@ -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.