Skip to content

Commit

Permalink
Fix clog
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Aug 29, 2024
1 parent 6fac5c4 commit 3003041
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 56 deletions.
14 changes: 8 additions & 6 deletions src/generated/linux/Tcp.cpp.clog.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,18 @@ tracepoint(CLOG_TCP_CPP, PerfTcpReceiveCallback , arg2);\

/*----------------------------------------------------------
// Decoder Ring for PerfTcpSendCompleteCallback
// [perf][tcp][%p] SendComplete callback
// [perf][tcp][%p] SendComplete callback, %u
// QuicTraceLogVerbose(
PerfTcpSendCompleteCallback,
"[perf][tcp][%p] SendComplete callback",
This);
"[perf][tcp][%p] SendComplete callback, %u",
This,
(uint32_t)Status);
// arg2 = arg2 = This = arg2
// arg3 = arg3 = (uint32_t)Status = arg3
----------------------------------------------------------*/
#ifndef _clog_3_ARGS_TRACE_PerfTcpSendCompleteCallback
#define _clog_3_ARGS_TRACE_PerfTcpSendCompleteCallback(uniqueId, encoded_arg_string, arg2)\
tracepoint(CLOG_TCP_CPP, PerfTcpSendCompleteCallback , arg2);\
#ifndef _clog_4_ARGS_TRACE_PerfTcpSendCompleteCallback
#define _clog_4_ARGS_TRACE_PerfTcpSendCompleteCallback(uniqueId, encoded_arg_string, arg2, arg3)\
tracepoint(CLOG_TCP_CPP, PerfTcpSendCompleteCallback , arg2, arg3);\

#endif

Expand Down
12 changes: 8 additions & 4 deletions src/generated/linux/Tcp.cpp.clog.h.lttng.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,22 @@ TRACEPOINT_EVENT(CLOG_TCP_CPP, PerfTcpReceiveCallback,

/*----------------------------------------------------------
// Decoder Ring for PerfTcpSendCompleteCallback
// [perf][tcp][%p] SendComplete callback
// [perf][tcp][%p] SendComplete callback, %u
// QuicTraceLogVerbose(
PerfTcpSendCompleteCallback,
"[perf][tcp][%p] SendComplete callback",
This);
"[perf][tcp][%p] SendComplete callback, %u",
This,
(uint32_t)Status);
// arg2 = arg2 = This = arg2
// arg3 = arg3 = (uint32_t)Status = arg3
----------------------------------------------------------*/
TRACEPOINT_EVENT(CLOG_TCP_CPP, PerfTcpSendCompleteCallback,
TP_ARGS(
const void *, arg2),
const void *, arg2,
unsigned int, arg3),
TP_FIELDS(
ctf_integer_hex(uint64_t, arg2, (uint64_t)arg2)
ctf_integer(unsigned int, arg3, arg3)
)
)

Expand Down
20 changes: 0 additions & 20 deletions src/generated/linux/binding.c.clog.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,26 +48,6 @@ tracepoint(CLOG_BINDING_C, BindingListenerAlreadyRegistered , arg2, arg3);\



/*----------------------------------------------------------
// Decoder Ring for BindingSendFailed
// [bind][%p] Send failed, 0x%x
// QuicTraceLogWarning(
BindingSendFailed,
"[bind][%p] Send failed, 0x%x",
Binding,
Status);
// arg2 = arg2 = Binding = arg2
// arg3 = arg3 = Status = arg3
----------------------------------------------------------*/
#ifndef _clog_4_ARGS_TRACE_BindingSendFailed
#define _clog_4_ARGS_TRACE_BindingSendFailed(uniqueId, encoded_arg_string, arg2, arg3)\
tracepoint(CLOG_BINDING_C, BindingSendFailed , arg2, arg3);\

#endif




/*----------------------------------------------------------
// Decoder Ring for PacketTxVersionNegotiation
// [S][TX][-] VN
Expand Down
23 changes: 0 additions & 23 deletions src/generated/linux/binding.c.clog.h.lttng.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,6 @@ TRACEPOINT_EVENT(CLOG_BINDING_C, BindingListenerAlreadyRegistered,



/*----------------------------------------------------------
// Decoder Ring for BindingSendFailed
// [bind][%p] Send failed, 0x%x
// QuicTraceLogWarning(
BindingSendFailed,
"[bind][%p] Send failed, 0x%x",
Binding,
Status);
// arg2 = arg2 = Binding = arg2
// arg3 = arg3 = Status = arg3
----------------------------------------------------------*/
TRACEPOINT_EVENT(CLOG_BINDING_C, BindingSendFailed,
TP_ARGS(
const void *, arg2,
unsigned int, arg3),
TP_FIELDS(
ctf_integer_hex(uint64_t, arg2, (uint64_t)arg2)
ctf_integer(unsigned int, arg3, arg3)
)
)



/*----------------------------------------------------------
// Decoder Ring for PacketTxVersionNegotiation
// [S][TX][-] VN
Expand Down
10 changes: 7 additions & 3 deletions src/manifest/clog.sidecar
Original file line number Diff line number Diff line change
Expand Up @@ -8672,12 +8672,16 @@
},
"PerfTcpSendCompleteCallback": {
"ModuleProperites": {},
"TraceString": "[perf][tcp][%p] SendComplete callback",
"TraceString": "[perf][tcp][%p] SendComplete callback, %u",
"UniqueId": "PerfTcpSendCompleteCallback",
"splitArgs": [
{
"DefinationEncoding": "p",
"MacroVariableName": "arg2"
},
{
"DefinationEncoding": "u",
"MacroVariableName": "arg3"
}
],
"macroName": "QuicTraceLogVerbose"
Expand Down Expand Up @@ -15912,9 +15916,9 @@
"EncodingString": "[perf][tcp][%p] Receive callback"
},
{
"UniquenessHash": "c0732f05-6611-2c1d-ad74-42718c7269cc",
"UniquenessHash": "40ccb9a5-a92a-6a46-3b50-7628487e2415",
"TraceID": "PerfTcpSendCompleteCallback",
"EncodingString": "[perf][tcp][%p] SendComplete callback"
"EncodingString": "[perf][tcp][%p] SendComplete callback, %u"
},
{
"UniquenessHash": "87a3325f-51ea-bece-2c7f-5a1e55cf6415",
Expand Down

0 comments on commit 3003041

Please sign in to comment.