MySQL  8.0.22
Source Code Documentation
Trace Class Reference

This class is used to trace function calls and other process information. More...

#include <semisync.h>

Inheritance diagram for Trace:
AckContainer ActiveTranx ReplSemiSyncBase Ack_receiver ReplSemiSyncMaster ReplSemiSyncSlave

Public Member Functions

void function_enter (const char *func_name)
 
int function_exit (const char *func_name, int exit_code)
 
bool function_exit (const char *func_name, bool exit_code)
 
void function_exit (const char *func_name)
 
 Trace ()
 
 Trace (unsigned long trace_level)
 

Public Attributes

unsigned long trace_level_
 

Static Public Attributes

static const unsigned long kTraceFunction = 0x0040
 
static const unsigned long kTraceGeneral = 0x0001
 
static const unsigned long kTraceDetail = 0x0010
 
static const unsigned long kTraceNetWait = 0x0020
 

Detailed Description

This class is used to trace function calls and other process information.

Constructor & Destructor Documentation

◆ Trace() [1/2]

Trace::Trace ( )
inline

◆ Trace() [2/2]

Trace::Trace ( unsigned long  trace_level)
inline

Member Function Documentation

◆ function_enter()

void Trace::function_enter ( const char *  func_name)
inline

◆ function_exit() [1/3]

int Trace::function_exit ( const char *  func_name,
int  exit_code 
)
inline

◆ function_exit() [2/3]

bool Trace::function_exit ( const char *  func_name,
bool  exit_code 
)
inline

◆ function_exit() [3/3]

void Trace::function_exit ( const char *  func_name)
inline

Member Data Documentation

◆ kTraceDetail

const unsigned long Trace::kTraceDetail = 0x0010
static

◆ kTraceFunction

const unsigned long Trace::kTraceFunction = 0x0040
static

◆ kTraceGeneral

const unsigned long Trace::kTraceGeneral = 0x0001
static

◆ kTraceNetWait

const unsigned long Trace::kTraceNetWait = 0x0020
static

◆ trace_level_

unsigned long Trace::trace_level_

The documentation for this class was generated from the following files: