Skip to content

Commit 7f6d88e

Browse files
more logs
1 parent c2ac95b commit 7f6d88e

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

src/generated/linux/datapath_winuser.c.clog.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,30 @@ tracepoint(CLOG_DATAPATH_WINUSER_C, DatapathTestSetIpv6TrafficClassFailed , arg2
159159

160160

161161

162+
/*----------------------------------------------------------
163+
// Decoder Ring for DatapathCibirWarning
164+
// [data][%p] CIBIR detected, %s
165+
// QuicTraceLogWarning(
166+
DatapathCibirWarning,
167+
"[data][%p] CIBIR detected, %s",
168+
Socket,
169+
"ignoring port collision by assuming some \
170+
other MsQuic CIBIR process has reserved the OS port. \
171+
Let's continue with initialization and skip port reservation.");
172+
// arg2 = arg2 = Socket = arg2
173+
// arg3 = arg3 = "ignoring port collision by assuming some \
174+
other MsQuic CIBIR process has reserved the OS port. \
175+
Let's continue with initialization and skip port reservation." = arg3
176+
----------------------------------------------------------*/
177+
#ifndef _clog_4_ARGS_TRACE_DatapathCibirWarning
178+
#define _clog_4_ARGS_TRACE_DatapathCibirWarning(uniqueId, encoded_arg_string, arg2, arg3)\
179+
tracepoint(CLOG_DATAPATH_WINUSER_C, DatapathCibirWarning , arg2, arg3);\
180+
181+
#endif
182+
183+
184+
185+
162186
/*----------------------------------------------------------
163187
// Decoder Ring for DatapathCibirIdUsed
164188
// [data][%p] Using CIBIR ID (len %hhu, id 0x%llx)

src/generated/linux/datapath_winuser.c.clog.h.lttng.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,33 @@ TRACEPOINT_EVENT(CLOG_DATAPATH_WINUSER_C, DatapathTestSetIpv6TrafficClassFailed,
134134

135135

136136

137+
/*----------------------------------------------------------
138+
// Decoder Ring for DatapathCibirWarning
139+
// [data][%p] CIBIR detected, %s
140+
// QuicTraceLogWarning(
141+
DatapathCibirWarning,
142+
"[data][%p] CIBIR detected, %s",
143+
Socket,
144+
"ignoring port collision by assuming some \
145+
other MsQuic CIBIR process has reserved the OS port. \
146+
Let's continue with initialization and skip port reservation.");
147+
// arg2 = arg2 = Socket = arg2
148+
// arg3 = arg3 = "ignoring port collision by assuming some \
149+
other MsQuic CIBIR process has reserved the OS port. \
150+
Let's continue with initialization and skip port reservation." = arg3
151+
----------------------------------------------------------*/
152+
TRACEPOINT_EVENT(CLOG_DATAPATH_WINUSER_C, DatapathCibirWarning,
153+
TP_ARGS(
154+
const void *, arg2,
155+
const char *, arg3),
156+
TP_FIELDS(
157+
ctf_integer_hex(uint64_t, arg2, (uint64_t)arg2)
158+
ctf_string(arg3, arg3)
159+
)
160+
)
161+
162+
163+
137164
/*----------------------------------------------------------
138165
// Decoder Ring for DatapathCibirIdUsed
139166
// [data][%p] Using CIBIR ID (len %hhu, id 0x%llx)

src/manifest/clog.sidecar

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2503,6 +2503,22 @@
25032503
],
25042504
"macroName": "QuicTraceLogWarning"
25052505
},
2506+
"DatapathCibirWarning": {
2507+
"ModuleProperites": {},
2508+
"TraceString": "[data][%p] CIBIR detected, %s",
2509+
"UniqueId": "DatapathCibirWarning",
2510+
"splitArgs": [
2511+
{
2512+
"DefinationEncoding": "p",
2513+
"MacroVariableName": "arg2"
2514+
},
2515+
{
2516+
"DefinationEncoding": "s",
2517+
"MacroVariableName": "arg3"
2518+
}
2519+
],
2520+
"macroName": "QuicTraceLogWarning"
2521+
},
25062522
"DatapathCreated": {
25072523
"ModuleProperites": {},
25082524
"TraceString": "[data][%p] Created, local=%!ADDR!, remote=%!ADDR!",
@@ -14121,6 +14137,11 @@
1412114137
"TraceID": "DatapathCibirSkipNoXdp",
1412214138
"EncodingString": "[data][%p] CIBIR configured, skipping OS socket reservation but XDP not %s"
1412314139
},
14140+
{
14141+
"UniquenessHash": "4ff6ac9f-5909-ae45-8bb3-a69837b156fe",
14142+
"TraceID": "DatapathCibirWarning",
14143+
"EncodingString": "[data][%p] CIBIR detected, %s"
14144+
},
1412414145
{
1412514146
"UniquenessHash": "1cde4174-4172-15b7-b59b-dcbb6410b43a",
1412614147
"TraceID": "DatapathCreated",

0 commit comments

Comments
 (0)