MySQL 8.0.29
Source Code Documentation
pfs_tls_channel.cc File Reference

Functions

void init_pfs_tls_channels_instrumentation ()
 Initialize internal data structures to instrument TLS channels. More...
 
void cleanup_pfs_tls_channels_instrumentation ()
 Deinitialize internal data structures to instrument TLS channels. More...
 
void pfs_register_tls_channel_v1 (TLS_channel_property_iterator *provider)
 Register a TLS channel for instrumentation with PFS. More...
 
void pfs_unregister_tls_channel_v1 (TLS_channel_property_iterator *provider)
 Un-register a TLS channel for instrumentation with PFS. More...
 

Variables

tls_channels g_instrumented_tls_channels
 Global structure to store all instrumented TLS channels registered with PFS. More...
 
static bool g_instrumented_tls_channels_inited = false
 
mysql_rwlock_t LOCK_pfs_tls_channels
 RW lock that protects list of instrumented TLS channels. More...
 
static PSI_rwlock_key key_LOCK_pfs_tls_channels
 
static PSI_rwlock_info info_LOCK_pfs_tls_channels
 

Function Documentation

◆ cleanup_pfs_tls_channels_instrumentation()

void cleanup_pfs_tls_channels_instrumentation ( )

Deinitialize internal data structures to instrument TLS channels.

◆ init_pfs_tls_channels_instrumentation()

void init_pfs_tls_channels_instrumentation ( )

Initialize internal data structures to instrument TLS channels.

◆ pfs_register_tls_channel_v1()

void pfs_register_tls_channel_v1 ( TLS_channel_property_iterator provider)

Register a TLS channel for instrumentation with PFS.

Parameters
[in]providerIterator implementation to fetch all properties

◆ pfs_unregister_tls_channel_v1()

void pfs_unregister_tls_channel_v1 ( TLS_channel_property_iterator provider)

Un-register a TLS channel for instrumentation with PFS.

Parameters
[in]providerIterator implementation

Variable Documentation

◆ g_instrumented_tls_channels

tls_channels g_instrumented_tls_channels

Global structure to store all instrumented TLS channels registered with PFS.

◆ g_instrumented_tls_channels_inited

bool g_instrumented_tls_channels_inited = false
static

◆ info_LOCK_pfs_tls_channels

PSI_rwlock_info info_LOCK_pfs_tls_channels
static
Initial value:
= {
&key_LOCK_pfs_tls_channels, "LOCK_pfs_tls_channels", PSI_FLAG_SINGLETON, 0,
"This lock protects list of instrumented TLS channels."}
#define PSI_FLAG_SINGLETON
Singleton flag.
Definition: component_common.h:34
static PSI_rwlock_key key_LOCK_pfs_tls_channels
Definition: pfs_tls_channel.cc:201

◆ key_LOCK_pfs_tls_channels

PSI_rwlock_key key_LOCK_pfs_tls_channels
static

◆ LOCK_pfs_tls_channels

mysql_rwlock_t LOCK_pfs_tls_channels

RW lock that protects list of instrumented TLS channels.

See also
g_instrumented_tls_channels