24#ifndef MYSQL_SERVER_TELEMETRY_TRACES_SERVICE_IMP_H
25#define MYSQL_SERVER_TELEMETRY_TRACES_SERVICE_IMP_H
38 mysql_server_telemetry_traces_v1);
50#ifdef HAVE_PSI_SERVER_TELEMETRY_TRACES_INTERFACE
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
mysql_mutex_t LOCK_pfs_tracing_callback
Definition: mysql_server_telemetry_traces_service_imp.cc:206
void server_telemetry_tracing_lock()
Definition: mysql_server_telemetry_traces_service_imp.cc:239
bool impl_unregister_telemetry(telemetry_t *telemetry)
Definition: mysql_server_telemetry_traces_service_imp.cc:268
void cleanup_mysql_server_telemetry_traces_service()
Definition: mysql_server_telemetry_traces_service_imp.cc:229
void initialize_mysql_server_telemetry_traces_service()
Definition: mysql_server_telemetry_traces_service_imp.cc:215
const mysql_service_mysql_server_telemetry_traces_v1_t SERVICE_IMPLEMENTATION(performance_schema, mysql_server_telemetry_traces_v1)
PFS_cacheline_atomic_ptr< telemetry_t * > g_telemetry
Definition: mysql_server_telemetry_traces_service_imp.cc:203
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
void server_telemetry_tracing_unlock()
Definition: mysql_server_telemetry_traces_service_imp.cc:245
Miscellaneous global dependencies (declarations).
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76
An atomic<T> variable, guaranteed to be alone in a CPU cache line.
Definition: pfs_global.h:111
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
Definition: server_telemetry_traces_bits.h:137