MySQL 8.0.40
Source Code Documentation
mysql_server_telemetry_traces_service_imp.cc File Reference

The performance schema implementation of server telemetry traces service. More...

Functions

void initialize_mysql_server_telemetry_traces_service ()
 
void cleanup_mysql_server_telemetry_traces_service ()
 
void server_telemetry_tracing_lock ()
 
void server_telemetry_tracing_unlock ()
 
bool impl_register_telemetry (telemetry_t *telemetry)
 
bool impl_unregister_telemetry (telemetry_t *telemetry)
 
void impl_abort_telemetry (THD *thd)
 

Variables

const mysql_service_mysql_server_telemetry_traces_v1_t imp_performance_schema_mysql_server_telemetry_traces_v1
 
bool server_telemetry_traces_service_initialized = false
 
PFS_ALIGNED PFS_cacheline_atomic_ptr< telemetry_t * > g_telemetry
 
mysql_mutex_t LOCK_pfs_tracing_callback
 
static PSI_mutex_key key_LOCK_pfs_tracing_callback
 
static PSI_mutex_info info_LOCK_pfs_tracing_callback
 

Detailed Description

The performance schema implementation of server telemetry traces service.

Function Documentation

◆ cleanup_mysql_server_telemetry_traces_service()

void cleanup_mysql_server_telemetry_traces_service ( )

◆ impl_abort_telemetry()

void impl_abort_telemetry ( THD thd)

◆ impl_register_telemetry()

bool impl_register_telemetry ( telemetry_t telemetry)

◆ impl_unregister_telemetry()

bool impl_unregister_telemetry ( telemetry_t telemetry)

◆ initialize_mysql_server_telemetry_traces_service()

void initialize_mysql_server_telemetry_traces_service ( )

◆ server_telemetry_tracing_lock()

void server_telemetry_tracing_lock ( )

◆ server_telemetry_tracing_unlock()

void server_telemetry_tracing_unlock ( )

Variable Documentation

◆ g_telemetry

◆ imp_performance_schema_mysql_server_telemetry_traces_v1

const mysql_service_mysql_server_telemetry_traces_v1_t imp_performance_schema_mysql_server_telemetry_traces_v1
Initial value:
= {
}
bool impl_unregister_telemetry(telemetry_t *telemetry)
Definition: mysql_server_telemetry_traces_service_imp.cc:268
bool impl_register_telemetry(telemetry_t *telemetry)
Definition: mysql_server_telemetry_traces_service_imp.cc:251
void impl_abort_telemetry(THD *thd)
Definition: mysql_server_telemetry_traces_service_imp.cc:284

◆ info_LOCK_pfs_tracing_callback

PSI_mutex_info info_LOCK_pfs_tracing_callback
static
Initial value:
= {
&key_LOCK_pfs_tracing_callback, "LOCK_pfs_tracing_callback",
"This lock protects telemetry trace callback functions."}
#define PSI_FLAG_SINGLETON
Singleton flag.
Definition: component_common.h:35
#define PSI_VOLATILITY_PERMANENT
Definition: psi_bits.h:154
static PSI_mutex_key key_LOCK_pfs_tracing_callback
Definition: mysql_server_telemetry_traces_service_imp.cc:208

◆ key_LOCK_pfs_tracing_callback

PSI_mutex_key key_LOCK_pfs_tracing_callback
static

◆ LOCK_pfs_tracing_callback

mysql_mutex_t LOCK_pfs_tracing_callback

◆ server_telemetry_traces_service_initialized

bool server_telemetry_traces_service_initialized = false