-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
961 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef CLOG_DO_NOT_INCLUDE_HEADER | ||
#include <clog.h> | ||
#endif | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#ifdef CLOG_INLINE_IMPLEMENTATION | ||
#include "quic.clog_ToeplitzTest.cpp.clog.h.c" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,257 @@ | ||
#ifndef CLOG_DO_NOT_INCLUDE_HEADER | ||
#include <clog.h> | ||
#endif | ||
#undef TRACEPOINT_PROVIDER | ||
#define TRACEPOINT_PROVIDER CLOG_CONNECTION_POOL_C | ||
#undef TRACEPOINT_PROBE_DYNAMIC_LINKAGE | ||
#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE | ||
#undef TRACEPOINT_INCLUDE | ||
#define TRACEPOINT_INCLUDE "connection_pool.c.clog.h.lttng.h" | ||
#if !defined(DEF_CLOG_CONNECTION_POOL_C) || defined(TRACEPOINT_HEADER_MULTI_READ) | ||
#define DEF_CLOG_CONNECTION_POOL_C | ||
#include <lttng/tracepoint.h> | ||
#define __int64 __int64_t | ||
#include "connection_pool.c.clog.h.lttng.h" | ||
#endif | ||
#include <lttng/tracepoint-event.h> | ||
#ifndef _clog_MACRO_QuicTraceLogError | ||
#define _clog_MACRO_QuicTraceLogError 1 | ||
#define QuicTraceLogError(a, ...) _clog_CAT(_clog_ARGN_SELECTOR(__VA_ARGS__), _clog_CAT(_,a(#a, __VA_ARGS__))) | ||
#endif | ||
#ifndef _clog_MACRO_QuicTraceEvent | ||
#define _clog_MACRO_QuicTraceEvent 1 | ||
#define QuicTraceEvent(a, ...) _clog_CAT(_clog_ARGN_SELECTOR(__VA_ARGS__), _clog_CAT(_,a(#a, __VA_ARGS__))) | ||
#endif | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolInvalidParam | ||
// [conp] Invalid parameter, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolInvalidParam, | ||
"[conp] Invalid parameter, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolInvalidParam | ||
#define _clog_3_ARGS_TRACE_ConnPoolInvalidParam(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolInvalidParam , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolInvalidParamNeedRemoteAddress | ||
// [conp] Neither ServerName nor ServerAddress were set, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolInvalidParamNeedRemoteAddress, | ||
"[conp] Neither ServerName nor ServerAddress were set, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolInvalidParamNeedRemoteAddress | ||
#define _clog_3_ARGS_TRACE_ConnPoolInvalidParamNeedRemoteAddress(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolInvalidParamNeedRemoteAddress , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolCreateSocket | ||
// [conp] Failed to create socket, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolCreateSocket, | ||
"[conp] Failed to create socket, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolCreateSocket | ||
#define _clog_3_ARGS_TRACE_ConnPoolCreateSocket(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolCreateSocket , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolGetLocalAddresses | ||
// [conp] Failed to get local address info, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolGetLocalAddresses, | ||
"[conp] Failed to get local address info, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolGetLocalAddresses | ||
#define _clog_3_ARGS_TRACE_ConnPoolGetLocalAddresses(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolGetLocalAddresses , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolLocalAddressNotFound | ||
// [conp] Failed to find local address, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolLocalAddressNotFound, | ||
"[conp] Failed to find local address, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolLocalAddressNotFound | ||
#define _clog_3_ARGS_TRACE_ConnPoolLocalAddressNotFound(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolLocalAddressNotFound , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolGetRssConfig | ||
// [conp] Failed to get RSS config, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolGetRssConfig, | ||
"[conp] Failed to get RSS config, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolGetRssConfig | ||
#define _clog_3_ARGS_TRACE_ConnPoolGetRssConfig(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolGetRssConfig , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolRssNotSupported | ||
// [conp] RSS not supported, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolRssNotSupported, | ||
"[conp] RSS not supported, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolRssNotSupported | ||
#define _clog_3_ARGS_TRACE_ConnPoolRssNotSupported(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolRssNotSupported , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolRssSecretKeyTooLong | ||
// [conp] RSS secret key too long, 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolRssSecretKeyTooLong, | ||
"[conp] RSS secret key too long, 0x%x", | ||
Status); | ||
// arg2 = arg2 = Status = arg2 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_3_ARGS_TRACE_ConnPoolRssSecretKeyTooLong | ||
#define _clog_3_ARGS_TRACE_ConnPoolRssSecretKeyTooLong(uniqueId, encoded_arg_string, arg2)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolRssSecretKeyTooLong , arg2);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolOpenConnection | ||
// [conp] Failed to open connection[%u], 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolOpenConnection, | ||
"[conp] Failed to open connection[%u], 0x%x", | ||
i, | ||
Status); | ||
// arg2 = arg2 = i = arg2 | ||
// arg3 = arg3 = Status = arg3 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_4_ARGS_TRACE_ConnPoolOpenConnection | ||
#define _clog_4_ARGS_TRACE_ConnPoolOpenConnection(uniqueId, encoded_arg_string, arg2, arg3)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolOpenConnection , arg2, arg3);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolSetRemoteAddress | ||
// [conp] Failed to set remote address on connection[%u], 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolSetRemoteAddress, | ||
"[conp] Failed to set remote address on connection[%u], 0x%x", | ||
i, | ||
Status); | ||
// arg2 = arg2 = i = arg2 | ||
// arg3 = arg3 = Status = arg3 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_4_ARGS_TRACE_ConnPoolSetRemoteAddress | ||
#define _clog_4_ARGS_TRACE_ConnPoolSetRemoteAddress(uniqueId, encoded_arg_string, arg2, arg3)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolSetRemoteAddress , arg2, arg3);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for ConnPoolSetLocalAddress | ||
// [conp] Failed to set local address on connection[%u], 0x%x | ||
// QuicTraceLogError( | ||
ConnPoolSetLocalAddress, | ||
"[conp] Failed to set local address on connection[%u], 0x%x", | ||
i, | ||
Status); | ||
// arg2 = arg2 = i = arg2 | ||
// arg3 = arg3 = Status = arg3 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_4_ARGS_TRACE_ConnPoolSetLocalAddress | ||
#define _clog_4_ARGS_TRACE_ConnPoolSetLocalAddress(uniqueId, encoded_arg_string, arg2, arg3)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, ConnPoolSetLocalAddress , arg2, arg3);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
/*---------------------------------------------------------- | ||
// Decoder Ring for AllocFailure | ||
// Allocation of '%s' failed. (%llu bytes) | ||
// QuicTraceEvent( | ||
AllocFailure, | ||
"Allocation of '%s' failed. (%llu bytes)", | ||
"RSS Processor List", | ||
RssConfig->RssIndirectionTableLength); | ||
// arg2 = arg2 = "RSS Processor List" = arg2 | ||
// arg3 = arg3 = RssConfig->RssIndirectionTableLength = arg3 | ||
----------------------------------------------------------*/ | ||
#ifndef _clog_4_ARGS_TRACE_AllocFailure | ||
#define _clog_4_ARGS_TRACE_AllocFailure(uniqueId, encoded_arg_string, arg2, arg3)\ | ||
tracepoint(CLOG_CONNECTION_POOL_C, AllocFailure , arg2, arg3);\ | ||
|
||
#endif | ||
|
||
|
||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#ifdef CLOG_INLINE_IMPLEMENTATION | ||
#include "quic.clog_connection_pool.c.clog.h.c" | ||
#endif |
Oops, something went wrong.