Skip to content

Commit a69c9e9

Browse files
guhetiergaurav2699
andauthored
Change the format specifier (#5523) (#5534)
* changed signed to unsigned * updated clog Co-authored-by: Gaurav Singh <[email protected]>
1 parent cd72daf commit a69c9e9

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

src/core/library.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ QuicLibrarySetGlobalParam(
12881288

12891289
QuicTraceLogInfo(
12901290
LibraryDscpRecvEnabledSet,
1291-
"[ lib] Setting Dscp on recv = %d", MsQuicLib.EnableDscpOnRecv);
1291+
"[ lib] Setting Dscp on recv = %u", MsQuicLib.EnableDscpOnRecv);
12921292

12931293
Status = QUIC_STATUS_SUCCESS;
12941294
break;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ tracepoint(CLOG_LIBRARY_C, LibraryExecutionConfigSet );\
209209

210210
/*----------------------------------------------------------
211211
// Decoder Ring for LibraryDscpRecvEnabledSet
212-
// [ lib] Setting Dscp on recv = %d
212+
// [ lib] Setting Dscp on recv = %u
213213
// QuicTraceLogInfo(
214214
LibraryDscpRecvEnabledSet,
215-
"[ lib] Setting Dscp on recv = %d", MsQuicLib.EnableDscpOnRecv);
215+
"[ lib] Setting Dscp on recv = %u", MsQuicLib.EnableDscpOnRecv);
216216
// arg2 = arg2 = MsQuicLib.EnableDscpOnRecv = arg2
217217
----------------------------------------------------------*/
218218
#ifndef _clog_3_ARGS_TRACE_LibraryDscpRecvEnabledSet

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,17 @@ TRACEPOINT_EVENT(CLOG_LIBRARY_C, LibraryExecutionConfigSet,
178178

179179
/*----------------------------------------------------------
180180
// Decoder Ring for LibraryDscpRecvEnabledSet
181-
// [ lib] Setting Dscp on recv = %d
181+
// [ lib] Setting Dscp on recv = %u
182182
// QuicTraceLogInfo(
183183
LibraryDscpRecvEnabledSet,
184-
"[ lib] Setting Dscp on recv = %d", MsQuicLib.EnableDscpOnRecv);
184+
"[ lib] Setting Dscp on recv = %u", MsQuicLib.EnableDscpOnRecv);
185185
// arg2 = arg2 = MsQuicLib.EnableDscpOnRecv = arg2
186186
----------------------------------------------------------*/
187187
TRACEPOINT_EVENT(CLOG_LIBRARY_C, LibraryDscpRecvEnabledSet,
188188
TP_ARGS(
189-
int, arg2),
189+
unsigned int, arg2),
190190
TP_FIELDS(
191-
ctf_integer(int, arg2, arg2)
191+
ctf_integer(unsigned int, arg2, arg2)
192192
)
193193
)
194194

src/manifest/clog.sidecar

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6200,11 +6200,11 @@
62006200
},
62016201
"LibraryDscpRecvEnabledSet": {
62026202
"ModuleProperites": {},
6203-
"TraceString": "[ lib] Setting Dscp on recv = %d",
6203+
"TraceString": "[ lib] Setting Dscp on recv = %u",
62046204
"UniqueId": "LibraryDscpRecvEnabledSet",
62056205
"splitArgs": [
62066206
{
6207-
"DefinationEncoding": "d",
6207+
"DefinationEncoding": "u",
62086208
"MacroVariableName": "arg2"
62096209
}
62106210
],
@@ -14837,9 +14837,9 @@
1483714837
"EncodingString": "[ lib] CID Length = %hhu"
1483814838
},
1483914839
{
14840-
"UniquenessHash": "4ee2132f-243f-586f-f776-403103dc21a7",
14840+
"UniquenessHash": "bce1fded-91be-da6e-29d8-3f52455fa16a",
1484114841
"TraceID": "LibraryDscpRecvEnabledSet",
14842-
"EncodingString": "[ lib] Setting Dscp on recv = %d"
14842+
"EncodingString": "[ lib] Setting Dscp on recv = %u"
1484314843
},
1484414844
{
1484514845
"UniquenessHash": "2cbc406b-c1c0-ba4d-eee8-669f30330f4a",

0 commit comments

Comments
 (0)