Classes | Namespaces | Macros | Typedefs | Functions
debug/trace.h File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/global_config.h"
#include "src/core/lib/gprpp/memory.h"
Include dependency graph for debug/trace.h:

Go to the source code of this file.

Classes

class  grpc_core::TraceFlag
 
class  grpc_core::TraceFlagList
 

Namespaces

 grpc_core
 
 grpc_core::testing
 

Macros

#define GRPC_TRACE_FLAG_ENABLED(f)   GPR_UNLIKELY((f).enabled())
 
#define GRPC_USE_TRACERS
 

Typedefs

typedef TraceFlag grpc_core::DebugOnlyTraceFlag
 

Functions

 GPR_GLOBAL_CONFIG_DECLARE_STRING (grpc_trace)
 
void grpc_core::testing::grpc_tracer_enable_flag (TraceFlag *flag)
 
void grpc_tracer_init ()
 
void grpc_tracer_init (const char *env_var_name)
 
void grpc_tracer_shutdown (void)
 

Macro Definition Documentation

◆ GRPC_TRACE_FLAG_ENABLED

#define GRPC_TRACE_FLAG_ENABLED (   f)    GPR_UNLIKELY((f).enabled())

Definition at line 114 of file debug/trace.h.

◆ GRPC_USE_TRACERS

#define GRPC_USE_TRACERS

Definition at line 80 of file debug/trace.h.

Function Documentation

◆ GPR_GLOBAL_CONFIG_DECLARE_STRING()

GPR_GLOBAL_CONFIG_DECLARE_STRING ( grpc_trace  )

◆ grpc_tracer_init() [1/2]

void grpc_tracer_init ( )

Definition at line 146 of file debug/trace.cc.

◆ grpc_tracer_init() [2/2]

void grpc_tracer_init ( const char *  env_var_name)

Definition at line 141 of file debug/trace.cc.

◆ grpc_tracer_shutdown()

void grpc_tracer_shutdown ( void  )

Definition at line 151 of file debug/trace.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:35