MySQL 8.3.0
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...
 
void pfs_tls_channels_lock_for_read ()
 Lock internal rwlock for reading. More...
 
void pfs_tls_channels_unlock ()
 Unlock internal rwlock. More...
 
tls_channelspfs_get_instrumented_tls_channels ()
 Returns structure to store all instrumented TLS channels registered with PFS. More...
 

Variables

tls_channels g_instrumented_tls_channels
 
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_get_instrumented_tls_channels()

tls_channels & pfs_get_instrumented_tls_channels ( )

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

◆ 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_tls_channels_lock_for_read()

void pfs_tls_channels_lock_for_read ( )

Lock internal rwlock for reading.

◆ pfs_tls_channels_unlock()

void pfs_tls_channels_unlock ( )

Unlock internal rwlock.

◆ 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

◆ 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:205

◆ 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