MySQL 9.0.0
Source Code Documentation
|
#include "storage/perfschema/pfs_tls_channel.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/psi/mysql_rwlock.h"
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_channels & | pfs_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 |
void cleanup_pfs_tls_channels_instrumentation | ( | ) |
Deinitialize internal data structures to instrument TLS channels.
void init_pfs_tls_channels_instrumentation | ( | ) |
Initialize internal data structures to instrument TLS channels.
tls_channels & pfs_get_instrumented_tls_channels | ( | ) |
Returns structure to store all instrumented TLS channels registered with PFS.
void pfs_register_tls_channel_v1 | ( | TLS_channel_property_iterator * | provider | ) |
Register a TLS channel for instrumentation with PFS.
[in] | provider | Iterator implementation to fetch all properties |
void pfs_tls_channels_lock_for_read | ( | ) |
Lock internal rwlock for reading.
void pfs_tls_channels_unlock | ( | ) |
Unlock internal rwlock.
void pfs_unregister_tls_channel_v1 | ( | TLS_channel_property_iterator * | provider | ) |
Un-register a TLS channel for instrumentation with PFS.
[in] | provider | Iterator implementation |
tls_channels g_instrumented_tls_channels |
|
static |
|
static |
|
static |
mysql_rwlock_t LOCK_pfs_tls_channels |
RW lock that protects list of instrumented TLS channels.