|
int | init_account (const PFS_global_param *param) |
| Initialize the user buffers. More...
|
|
void | cleanup_account () |
| Cleanup all the account buffers. More...
|
|
static const uchar * | account_hash_get_key (const uchar *entry, size_t *length) |
|
static uint | account_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | account_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_account_hash (const PFS_global_param *param) |
| Initialize the user hash. More...
|
|
void | cleanup_account_hash () |
| Cleanup the user hash. More...
|
|
static LF_PINS * | get_account_hash_pins (PFS_thread *thread) |
|
static void | set_account_key (PFS_account_key *key, const PFS_user_name *user, const PFS_host_name *host) |
|
PFS_account * | find_or_create_account (PFS_thread *thread, const PFS_user_name *user, const PFS_host_name *host) |
|
PFS_account * | sanitize_account (PFS_account *unsafe) |
|
static void | purge_account (PFS_thread *thread, PFS_account *account) |
|
void | purge_all_account () |
| Purge non connected accounts, reset stats of connected account. More...
|
|
void | update_accounts_derived_flags (PFS_thread *thread) |
|
int | init_host (const PFS_global_param *param) |
| Initialize the host buffers. More...
|
|
void | cleanup_host () |
| Cleanup all the host buffers. More...
|
|
static const uchar * | host_hash_get_key (const uchar *entry, size_t *length) |
|
static uint | host_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | host_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_host_hash (const PFS_global_param *param) |
| Initialize the host hash. More...
|
|
void | cleanup_host_hash () |
| Cleanup the host hash. More...
|
|
static LF_PINS * | get_host_hash_pins (PFS_thread *thread) |
|
static void | set_host_key (PFS_host_key *key, const PFS_host_name *host) |
|
PFS_host * | find_or_create_host (PFS_thread *thread, const PFS_host_name *host) |
|
PFS_host * | sanitize_host (PFS_host *unsafe) |
|
static void | purge_host (PFS_thread *thread, PFS_host *host) |
|
void | purge_all_host () |
| Purge non connected hosts, reset stats of connected hosts. More...
|
|
int | init_instruments (const PFS_global_param *param) |
| Initialize all the instruments instance buffers. More...
|
|
void | cleanup_instruments () |
| Cleanup all the instruments buffers. More...
|
|
static const uchar * | filename_hash_get_key (const uchar *entry, size_t *length) |
| Get hash table key for instrumented files. More...
|
|
static uint | filename_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | filename_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_file_hash (const PFS_global_param *param) |
| Initialize the file name hash. More...
|
|
void | cleanup_file_hash () |
| Cleanup the file name hash. More...
|
|
PFS_mutex * | create_mutex (PFS_mutex_class *klass, const void *identity) |
| Create instrumentation for a mutex instance. More...
|
|
void | destroy_mutex (PFS_mutex *pfs) |
| Destroy instrumentation for a mutex instance. More...
|
|
PFS_rwlock * | create_rwlock (PFS_rwlock_class *klass, const void *identity) |
| Create instrumentation for a rwlock instance. More...
|
|
void | destroy_rwlock (PFS_rwlock *pfs) |
| Destroy instrumentation for a rwlock instance. More...
|
|
PFS_cond * | create_cond (PFS_cond_class *klass, const void *identity) |
| Create instrumentation for a condition instance. More...
|
|
void | destroy_cond (PFS_cond *pfs) |
| Destroy instrumentation for a condition instance. More...
|
|
void | carry_global_memory_stat_alloc_delta (PFS_memory_stat_alloc_delta *delta, uint index) |
|
void | carry_global_memory_stat_free_delta (PFS_memory_stat_free_delta *delta, uint index) |
|
PFS_thread * | create_thread (PFS_thread_class *klass, PSI_thread_seqnum seqnum, const void *identity, ulonglong processlist_id) |
| Create instrumentation for a thread instance. More...
|
|
PFS_thread * | find_thread_by_internal_id (ulonglong thread_id) |
| Find a PFS thread given an internal thread id. More...
|
|
PFS_thread * | find_thread_by_processlist_id (ulonglong processlist_id) |
| Find a PFS thread given a processlist id. More...
|
|
PFS_mutex * | sanitize_mutex (PFS_mutex *unsafe) |
|
PFS_rwlock * | sanitize_rwlock (PFS_rwlock *unsafe) |
|
PFS_cond * | sanitize_cond (PFS_cond *unsafe) |
|
PFS_thread * | sanitize_thread (PFS_thread *unsafe) |
| Sanitize a PFS_thread pointer. More...
|
|
PFS_file * | sanitize_file (PFS_file *unsafe) |
|
PFS_socket * | sanitize_socket (PFS_socket *unsafe) |
|
PFS_metadata_lock * | sanitize_metadata_lock (PFS_metadata_lock *unsafe) |
|
void | destroy_thread (PFS_thread *pfs) |
| Destroy instrumentation for a thread instance. More...
|
|
static LF_PINS * | get_filename_hash_pins (PFS_thread *thread) |
| Get the hash pins for filename_hash . More...
|
|
int | normalize_filename (const char *filename, uint name_len, PFS_file_name &normalized) |
| Normalize a filename with fully qualified path. More...
|
|
PFS_file * | find_or_create_file (PFS_thread *thread, PFS_file_class *klass, const char *filename, uint len, bool create) |
| Find or create instrumentation for a file instance by file name. More...
|
|
PFS_file * | start_file_rename (PFS_thread *thread, const char *old_name) |
| Before the rename operation: Find the file instrumentation by name, then delete the filename from the filename hash. More...
|
|
int | end_file_rename (PFS_thread *thread, PFS_file *pfs, const char *new_name, int rename_result) |
| After the rename operation: Assign the new filename to the file instrumentation instance, then add to the filename hash. More...
|
|
PFS_file * | find_file (PFS_thread *thread, PFS_file_class *klass, const char *filename, uint len) |
| Find a file instrumentation instance by name. More...
|
|
void | release_file (PFS_file *pfs) |
| Release instrumentation for a file instance. More...
|
|
void | delete_file_name (PFS_thread *thread, PFS_file *pfs) |
| Delete file name from the hash table. More...
|
|
void | destroy_file (PFS_thread *thread, PFS_file *pfs, bool delete_name) |
| Destroy instrumentation for a file instance. More...
|
|
PFS_table * | create_table (PFS_table_share *share, PFS_thread *opening_thread, const void *identity) |
| Create instrumentation for a table instance. More...
|
|
void | destroy_table (PFS_table *pfs) |
| Destroy instrumentation for a table instance. More...
|
|
PFS_socket * | create_socket (PFS_socket_class *klass, const my_socket *fd, const struct sockaddr *addr, socklen_t addr_len) |
| Create instrumentation for a socket instance. More...
|
|
void | destroy_socket (PFS_socket *pfs) |
| Destroy instrumentation for a socket instance. More...
|
|
PFS_metadata_lock * | create_metadata_lock (void *identity, const MDL_key *mdl_key, opaque_mdl_type mdl_type, opaque_mdl_duration mdl_duration, opaque_mdl_status mdl_status, const char *src_file, uint src_line) |
|
void | destroy_metadata_lock (PFS_metadata_lock *pfs) |
|
static void | fct_reset_mutex_waits (PFS_mutex *pfs) |
|
static void | reset_mutex_waits_by_instance () |
|
static void | fct_reset_rwlock_waits (PFS_rwlock *pfs) |
|
static void | reset_rwlock_waits_by_instance () |
|
static void | fct_reset_cond_waits (PFS_cond *pfs) |
|
static void | reset_cond_waits_by_instance () |
|
static void | fct_reset_file_waits (PFS_file *pfs) |
|
static void | reset_file_waits_by_instance () |
|
static void | fct_reset_socket_waits (PFS_socket *pfs) |
|
static void | reset_socket_waits_by_instance () |
|
void | reset_events_waits_by_instance () |
| Reset the wait statistics per object instance. More...
|
|
static void | fct_reset_file_io (PFS_file *pfs) |
|
void | reset_file_instance_io () |
| Reset the I/O statistics per file instance. More...
|
|
static void | fct_reset_socket_io (PFS_socket *pfs) |
|
void | reset_socket_instance_io () |
| Reset the I/O statistics per socket instance. More...
|
|
void | reset_histogram_global () |
|
void | aggregate_all_event_names (PFS_single_stat *from_array, PFS_single_stat *to_array) |
|
void | aggregate_all_event_names (PFS_single_stat *from_array, PFS_single_stat *to_array_1, PFS_single_stat *to_array_2) |
|
void | aggregate_all_stages (PFS_stage_stat *from_array, PFS_stage_stat *to_array) |
|
void | aggregate_all_stages (PFS_stage_stat *from_array, PFS_stage_stat *to_array_1, PFS_stage_stat *to_array_2) |
|
void | aggregate_all_statements (PFS_statement_stat *from_array, PFS_statement_stat *to_array) |
|
void | aggregate_all_statements (PFS_statement_stat *from_array, PFS_statement_stat *to_array_1, PFS_statement_stat *to_array_2) |
|
void | aggregate_all_transactions (PFS_transaction_stat *from_array, PFS_transaction_stat *to_array) |
|
void | aggregate_all_transactions (PFS_transaction_stat *from_array, PFS_transaction_stat *to_array_1, PFS_transaction_stat *to_array_2) |
|
void | aggregate_all_errors (PFS_error_stat *from_array, PFS_error_stat *to_array) |
|
void | aggregate_all_errors (PFS_error_stat *from_array, PFS_error_stat *to_array_1, PFS_error_stat *to_array_2) |
|
void | aggregate_all_memory_with_reassign (bool alive, PFS_memory_safe_stat *from_array, PFS_memory_shared_stat *to_array, PFS_memory_shared_stat *global_array) |
|
void | aggregate_all_memory (bool alive, PFS_memory_safe_stat *from_array, PFS_memory_shared_stat *to_array) |
|
void | aggregate_all_memory (bool alive, PFS_memory_shared_stat *from_array, PFS_memory_shared_stat *to_array) |
|
void | aggregate_all_memory_with_reassign (bool alive, PFS_memory_safe_stat *from_array, PFS_memory_shared_stat *to_array_1, PFS_memory_shared_stat *to_array_2, PFS_memory_shared_stat *global_array) |
|
void | aggregate_all_memory (bool alive, PFS_memory_shared_stat *from_array, PFS_memory_shared_stat *to_array_1, PFS_memory_shared_stat *to_array_2) |
|
void | aggregate_thread_status (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
static void | aggregate_thread_stats (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread_waits (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread_stages (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread_statements (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread_transactions (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread_errors (PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | aggregate_thread_memory (bool alive, PFS_thread *thread, PFS_account *safe_account, PFS_user *safe_user, PFS_host *safe_host) |
|
void | clear_thread_account (PFS_thread *thread) |
|
void | set_thread_account (PFS_thread *thread) |
|
static void | fct_update_mutex_derived_flags (PFS_mutex *pfs) |
|
void | update_mutex_derived_flags () |
| Update derived flags for all mutex instances. More...
|
|
static void | fct_update_rwlock_derived_flags (PFS_rwlock *pfs) |
|
void | update_rwlock_derived_flags () |
| Update derived flags for all rwlock instances. More...
|
|
static void | fct_update_cond_derived_flags (PFS_cond *pfs) |
|
void | update_cond_derived_flags () |
| Update derived flags for all condition instances. More...
|
|
static void | fct_update_file_derived_flags (PFS_file *pfs) |
|
void | update_file_derived_flags () |
| Update derived flags for all file handles. More...
|
|
static void | fct_update_table_derived_flags (PFS_table *pfs) |
|
void | update_table_derived_flags () |
| Update derived flags for all table handles. More...
|
|
static void | fct_update_socket_derived_flags (PFS_socket *pfs) |
|
void | update_socket_derived_flags () |
| Update derived flags for all socket instances. More...
|
|
static void | fct_reset_metadata_source_file_pointers (PFS_metadata_lock *pfs) |
|
static void | fct_update_metadata_derived_flags (PFS_metadata_lock *pfs) |
|
void | update_metadata_derived_flags () |
| Update derived flags for all metadata instances. More...
|
|
static void | fct_update_thread_derived_flags (PFS_thread *pfs) |
|
void | update_thread_derived_flags () |
| Update derived flags for all thread instances. More...
|
|
void | update_instruments_derived_flags () |
| Update derived flags for all instruments. More...
|
|
static void | fct_reset_source_file_pointers (PFS_thread *pfs_thread) |
| For each thread, clear the source file pointers from all waits, stages, statements and transaction events. More...
|
|
void | reset_source_file_pointers () |
| Clear the source file pointers from all waits, stages, statements and transaction events. More...
|
|
std::atomic< uint32 > | pfs_unload_plugin_ref_count (0) |
| Global performance schema reference count for plugin and component events. More...
|
|
static void | configure_instr_class (PFS_instr_class *entry) |
| Set user-defined configuration values for an instrument. More...
|
|
static void | init_instr_class (PFS_instr_class *klass, const char *name, uint name_length, int flags, int volatility, const char *documentation, PFS_class_type class_type) |
|
static uint | safe_strlen (const char *s, uint max_len) |
| Like strlen (or POSIX strnlen), but don't read past the max_len'th character. More...
|
|
void | init_event_name_sizing (const PFS_global_param *param) |
|
void | register_global_classes () |
|
int | init_sync_class (uint mutex_class_sizing, uint rwlock_class_sizing, uint cond_class_sizing) |
| Initialize the instrument synch class buffers. More...
|
|
void | cleanup_sync_class () |
| Cleanup the instrument synch class buffers. More...
|
|
int | init_thread_class (uint thread_class_sizing) |
| Initialize the thread class buffer. More...
|
|
void | cleanup_thread_class () |
| Cleanup the thread class buffers. More...
|
|
int | init_table_share (uint table_share_sizing) |
| Initialize the table share buffer. More...
|
|
int | init_meter_class (uint meter_class_sizing) |
| Initialize the meter class buffer. More...
|
|
void | cleanup_meter_class () |
| Cleanup the meter class buffers. More...
|
|
int | init_metric_class (uint metric_class_sizing) |
| Initialize the metric class buffer. More...
|
|
void | cleanup_metric_class () |
| Cleanup the metric class buffers. More...
|
|
void | cleanup_table_share () |
| Cleanup the table share buffers. More...
|
|
static const uchar * | table_share_hash_get_key (const uchar *entry, size_t *length) |
| get_key function for table_share_hash . More...
|
|
static uint | table_share_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | table_share_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_table_share_hash (const PFS_global_param *param) |
| Initialize the table share hash table. More...
|
|
void | cleanup_table_share_hash () |
| Cleanup the table share hash table. More...
|
|
static LF_PINS * | get_table_share_hash_pins (PFS_thread *thread) |
| Get the hash pins for. More...
|
|
static void | set_table_share_key (PFS_table_share_key *key, bool temporary, const char *schema_name, size_t schema_name_length, const char *table_name, size_t table_name_length) |
| Set a table share hash key. More...
|
|
int | init_table_share_lock_stat (uint table_stat_sizing) |
| Initialize the table lock stat buffer. More...
|
|
PFS_table_share_lock * | create_table_share_lock_stat () |
| Create a table share lock instrumentation. More...
|
|
void | release_table_share_lock_stat (PFS_table_share_lock *pfs) |
| Release a table share lock instrumentation. More...
|
|
void | cleanup_table_share_lock_stat () |
| Cleanup the table stat buffers. More...
|
|
int | init_table_share_index_stat (uint index_stat_sizing) |
| Initialize table index stat buffer. More...
|
|
PFS_table_share_index * | create_table_share_index_stat (const TABLE_SHARE *server_share, uint server_index) |
| Create a table share index instrumentation. More...
|
|
void | release_table_share_index_stat (PFS_table_share_index *pfs) |
| Release a table share index instrumentation. More...
|
|
void | cleanup_table_share_index_stat () |
| Cleanup the table stat buffers. More...
|
|
int | init_file_class (uint file_class_sizing) |
| Initialize the file class buffer. More...
|
|
void | cleanup_file_class () |
| Cleanup the file class buffers. More...
|
|
int | init_stage_class (uint stage_class_sizing) |
| Initialize the stage class buffer. More...
|
|
void | cleanup_stage_class () |
| Cleanup the stage class buffers. More...
|
|
int | init_statement_class (uint statement_class_sizing) |
| Initialize the statement class buffer. More...
|
|
void | cleanup_statement_class () |
| Cleanup the statement class buffers. More...
|
|
int | init_socket_class (uint socket_class_sizing) |
| Initialize the socket class buffer. More...
|
|
void | cleanup_socket_class () |
| Cleanup the socket class buffers. More...
|
|
int | init_memory_class (uint memory_class_sizing) |
| Initialize the memory class buffer. More...
|
|
void | cleanup_memory_class () |
| Cleanup the memory class buffers. More...
|
|
PFS_sync_key | register_mutex_class (const char *name, uint name_length, PSI_mutex_info *info) |
| Register a mutex instrumentation metadata. More...
|
|
PFS_sync_key | register_rwlock_class (const char *name, uint name_length, PSI_rwlock_info *info) |
| Register a rwlock instrumentation metadata. More...
|
|
PFS_sync_key | register_cond_class (const char *name, uint name_length, PSI_cond_info *info) |
| Register a condition instrumentation metadata. More...
|
|
PFS_mutex_class * | find_mutex_class (PFS_sync_key key) |
| Find a mutex instrumentation class by key. More...
|
|
PFS_mutex_class * | sanitize_mutex_class (PFS_mutex_class *unsafe) |
|
PFS_rwlock_class * | find_rwlock_class (PFS_sync_key key) |
| Find a rwlock instrumentation class by key. More...
|
|
PFS_rwlock_class * | sanitize_rwlock_class (PFS_rwlock_class *unsafe) |
|
PFS_cond_class * | find_cond_class (PFS_sync_key key) |
| Find a condition instrumentation class by key. More...
|
|
PFS_cond_class * | sanitize_cond_class (PFS_cond_class *unsafe) |
|
PFS_meter_class * | find_meter_class (PSI_meter_key key) |
| Find a meter instrumentation class by key. More...
|
|
PFS_meter_class * | sanitize_meter_class (PFS_meter_class *unsafe) |
|
PFS_metric_class * | find_metric_class (PSI_metric_key key) |
| Find a metric instrumentation class by key. More...
|
|
PFS_metric_class * | sanitize_metric_class (PFS_metric_class *unsafe) |
|
PFS_thread_key | register_thread_class (const char *name, uint name_length, PSI_thread_info *info) |
| Register a thread instrumentation metadata. More...
|
|
PFS_thread_class * | find_thread_class (PFS_sync_key key) |
| Find a thread instrumentation class by key. More...
|
|
PFS_thread_class * | sanitize_thread_class (PFS_thread_class *unsafe) |
|
PFS_file_key | register_file_class (const char *name, uint name_length, PSI_file_info *info) |
| Register a file instrumentation metadata. More...
|
|
PFS_stage_key | register_stage_class (const char *name, uint prefix_length, uint name_length, PSI_stage_info *info) |
| Register a stage instrumentation metadata. More...
|
|
PFS_statement_key | register_statement_class (const char *name, uint name_length, PSI_statement_info *info) |
| Register a statement instrumentation metadata. More...
|
|
PFS_file_class * | find_file_class (PFS_file_key key) |
| Find a file instrumentation class by key. More...
|
|
PFS_file_class * | sanitize_file_class (PFS_file_class *unsafe) |
|
PFS_stage_class * | find_stage_class (PFS_stage_key key) |
| Find a stage instrumentation class by key. More...
|
|
PFS_stage_class * | sanitize_stage_class (PFS_stage_class *unsafe) |
|
PFS_statement_class * | find_statement_class (PFS_stage_key key) |
| Find a statement instrumentation class by key. More...
|
|
PFS_statement_class * | sanitize_statement_class (PFS_statement_class *unsafe) |
|
PFS_socket_key | register_socket_class (const char *name, uint name_length, PSI_socket_info *info) |
| Register a socket instrumentation metadata. More...
|
|
PFS_socket_class * | find_socket_class (PFS_socket_key key) |
| Find a socket instrumentation class by key. More...
|
|
PFS_socket_class * | sanitize_socket_class (PFS_socket_class *unsafe) |
|
PFS_memory_key | register_memory_class (const char *name, uint name_length, PSI_memory_info *info) |
| Register a memory instrumentation metadata. More...
|
|
PFS_memory_class * | find_memory_class (PFS_memory_key key) |
| Find a memory instrumentation class by key. More...
|
|
PFS_memory_class * | sanitize_memory_class (PFS_memory_class *unsafe) |
|
PFS_meter_key | register_meter_class (const char *name, uint name_length, PSI_meter_info_v1 *info) |
| Register a meter instrumentation metadata. More...
|
|
void | unregister_meter_class (PSI_meter_info_v1 *info) |
|
uint32 | meter_class_count () |
|
PFS_metric_key | register_metric_class (const char *name, uint name_length, PSI_metric_info_v1 *info, const char *meter) |
| Register a metric instrumentation metadata. More...
|
|
void | unregister_metric_class (PSI_metric_info_v1 *info) |
|
uint32 | metric_class_count () |
|
PFS_instr_class * | find_table_class (uint index) |
|
PFS_instr_class * | sanitize_table_class (PFS_instr_class *unsafe) |
|
PFS_instr_class * | find_idle_class (uint index) |
|
PFS_instr_class * | sanitize_idle_class (PFS_instr_class *unsafe) |
|
PFS_instr_class * | find_metadata_class (uint index) |
|
PFS_instr_class * | sanitize_metadata_class (PFS_instr_class *unsafe) |
|
PFS_error_class * | find_error_class (uint index) |
|
PFS_error_class * | sanitize_error_class (PFS_error_class *unsafe) |
|
PFS_transaction_class * | find_transaction_class (uint index) |
|
PFS_transaction_class * | sanitize_transaction_class (PFS_transaction_class *unsafe) |
|
static int | compare_keys (PFS_table_share *pfs, const TABLE_SHARE *share) |
|
PFS_table_share * | find_or_create_table_share (PFS_thread *thread, bool temporary, const TABLE_SHARE *share) |
| Find or create a table share instrumentation. More...
|
|
void | release_table_share (PFS_table_share *pfs) |
|
void | drop_table_share (PFS_thread *thread, bool temporary, const char *schema_name, uint schema_name_length, const char *table_name, uint table_name_length) |
| Drop the instrumented table share associated with a table. More...
|
|
PFS_table_share * | sanitize_table_share (PFS_table_share *unsafe) |
| Sanitize an unsafe table_share pointer. More...
|
|
void | reset_events_waits_by_class () |
| Reset the wait statistics per instrument class. More...
|
|
void | reset_file_class_io () |
| Reset the I/O statistics per file class. More...
|
|
void | reset_socket_class_io () |
| Reset the I/O statistics per socket class. More...
|
|
void | update_table_share_derived_flags (PFS_thread *thread) |
| Update derived flags for all table shares. More...
|
|
void | update_program_share_derived_flags (PFS_thread *thread) |
| Update derived flags for all stored procedure shares. More...
|
|
ulonglong | gtid_monitoring_getsystime () |
| Get current time for GTID monitoring. More...
|
|
uint | sanitize_index_count (uint count) |
|
PFS_error_class * | sanitize_error_class (PFS_instr_class *unsafe) |
|
int | init_setup_actor (const PFS_global_param *param) |
| Initialize the setup actor buffers. More...
|
|
void | cleanup_setup_actor () |
| Cleanup all the setup actor buffers. More...
|
|
static const uchar * | setup_actor_hash_get_key (const uchar *entry, size_t *length) |
|
static uint | setup_actor_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | setup_actor_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_setup_actor_hash (const PFS_global_param *param) |
| Initialize the setup actor hash. More...
|
|
void | cleanup_setup_actor_hash () |
| Cleanup the setup actor hash. More...
|
|
static LF_PINS * | get_setup_actor_hash_pins (PFS_thread *thread) |
|
static void | set_setup_actor_key (PFS_setup_actor_key *key, const PFS_user_name *user, const PFS_host_name *host, const PFS_role_name *role) |
|
int | insert_setup_actor (const PFS_user_name *user, const PFS_host_name *host, const PFS_role_name *role, bool enabled, bool history) |
|
int | delete_setup_actor (const PFS_user_name *user, const PFS_host_name *host, const PFS_role_name *role) |
|
int | reset_setup_actor () |
|
long | setup_actor_count () |
|
void | lookup_setup_actor (PFS_thread *thread, const PFS_user_name *user, const PFS_host_name *host, bool *enabled, bool *history) |
|
int | update_setup_actors_derived_flags () |
| Update derived flags for all setup_actors. More...
|
|
int | init_setup_object (const PFS_global_param *param) |
| Initialize the setup object buffers. More...
|
|
void | cleanup_setup_object () |
| Cleanup all the setup object buffers. More...
|
|
static const uchar * | setup_object_hash_get_key (const uchar *entry, size_t *length) |
|
static bool | is_table (enum_object_type object_type) |
|
static uint | setup_object_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | setup_object_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_setup_object_hash (const PFS_global_param *param) |
| Initialize the setup objects hash. More...
|
|
void | cleanup_setup_object_hash () |
| Cleanup the setup objects hash. More...
|
|
static LF_PINS * | get_setup_object_hash_pins (PFS_thread *thread) |
|
static void | set_setup_object_key (PFS_setup_object_key *key, enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object) |
|
int | insert_setup_object (enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object, bool enabled, bool timed) |
|
int | delete_setup_object (enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object) |
|
int | reset_setup_object () |
|
long | setup_object_count () |
|
static void | lookup_setup_object (PFS_thread *thread, enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object, bool *enabled, bool *timed) |
|
void | lookup_setup_object_table (PFS_thread *thread, enum_object_type object_type, const PFS_schema_name *schema_name, const PFS_table_name *table_name, bool *enabled, bool *timed) |
|
void | lookup_setup_object_routine (PFS_thread *thread, enum_object_type object_type, const PFS_schema_name *schema_name, const PFS_routine_name *routine_name, bool *enabled, bool *timed) |
|
void | memory_partial_aggregate (PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat) |
|
void | memory_partial_aggregate (PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat) |
|
void | memory_partial_aggregate (PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2) |
|
void | memory_partial_aggregate (PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2) |
|
void | memory_full_aggregate_with_reassign (const PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat, PFS_memory_shared_stat *global) |
| Aggregate thread memory statistics to the parent bucket. More...
|
|
void | memory_full_aggregate_with_reassign (const PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2, PFS_memory_shared_stat *global) |
|
void | memory_full_aggregate (const PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat) |
|
void | memory_full_aggregate (const PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat) |
|
void | memory_full_aggregate (const PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2) |
|
void | memory_monitoring_aggregate (const PFS_memory_safe_stat *from, PFS_memory_monitoring_stat *stat) |
|
void | memory_monitoring_aggregate (const PFS_memory_shared_stat *from, PFS_memory_monitoring_stat *stat) |
|
int | init_user (const PFS_global_param *param) |
| Initialize the user buffers. More...
|
|
void | cleanup_user () |
| Cleanup all the user buffers. More...
|
|
static const uchar * | user_hash_get_key (const uchar *entry, size_t *length) |
|
static uint | user_hash_func (const LF_HASH *, const uchar *key, size_t key_len) |
|
static int | user_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2) |
|
int | init_user_hash (const PFS_global_param *param) |
| Initialize the user hash. More...
|
|
void | cleanup_user_hash () |
| Cleanup the user hash. More...
|
|
static LF_PINS * | get_user_hash_pins (PFS_thread *thread) |
|
static void | set_user_key (PFS_user_key *key, const PFS_user_name *user) |
|
PFS_user * | find_or_create_user (PFS_thread *thread, const PFS_user_name *user) |
|
PFS_user * | sanitize_user (PFS_user *unsafe) |
|
static void | purge_user (PFS_thread *thread, PFS_user *user) |
|
void | purge_all_user () |
| Purge non connected users, reset stats of connected users. More...
|
|
static PFS_thread * | get_pfs_from_THD (THD *thd) |
|
void | PFS_account::aggregate (bool alive, PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_waits (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_stages (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_statements (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_transactions (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_errors (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_memory (bool alive, PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_status (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_stats (PFS_user *safe_user, PFS_host *safe_host) |
|
void | PFS_account::aggregate_disconnect (ulonglong controlled_memory, ulonglong total_memory) |
|
void | PFS_account::release () |
|
void | PFS_account::rebase_memory_stats () |
| Reset all memory statistics. More...
|
|
void | PFS_account::carry_memory_stat_alloc_delta (PFS_memory_stat_alloc_delta *delta, uint index) |
|
void | PFS_account::carry_memory_stat_free_delta (PFS_memory_stat_free_delta *delta, uint index) |
|
void | PFS_connection_slice::reset_waits_stats () |
| Reset all wait statistics. More...
|
|
void | PFS_connection_slice::reset_stages_stats () |
| Reset all stages statistics. More...
|
|
void | PFS_connection_slice::reset_statements_stats () |
| Reset all statements statistics. More...
|
|
void | PFS_connection_slice::reset_transactions_stats () |
| Reset all transactions statistics. More...
|
|
void | PFS_connection_slice::reset_errors_stats () |
| Reset all errors statistics. More...
|
|
void | PFS_host::aggregate (bool alive) |
|
void | PFS_host::aggregate_waits () |
|
void | PFS_host::aggregate_stages () |
|
void | PFS_host::aggregate_statements () |
|
void | PFS_host::aggregate_transactions () |
|
void | PFS_host::aggregate_errors () |
|
void | PFS_host::aggregate_memory (bool alive) |
|
void | PFS_host::aggregate_status () |
|
void | PFS_host::aggregate_stats () |
|
void | PFS_host::aggregate_stats_from (PFS_account *pfs) |
|
void | PFS_host::aggregate_disconnect (ulonglong controlled_memory, ulonglong total_memory) |
|
void | PFS_host::release () |
|
void | PFS_host::rebase_memory_stats () |
| Reset all memory statistics. More...
|
|
void | PFS_host::carry_memory_stat_alloc_delta (PFS_memory_stat_alloc_delta *delta, uint index) |
|
void | PFS_host::carry_memory_stat_free_delta (PFS_memory_stat_free_delta *delta, uint index) |
|
static PFS_thread * | PFS_thread::get_current_thread () |
|
void | PFS_thread::reset_session_connect_attrs () |
| Reset session connect attributes. More...
|
|
void | PFS_thread::set_history_derived_flags () |
|
void | PFS_thread::rebase_memory_stats () |
| Reset all memory statistics. More...
|
|
void | PFS_thread::carry_memory_stat_alloc_delta (PFS_memory_stat_alloc_delta *delta, uint index) |
|
void | PFS_thread::carry_memory_stat_free_delta (PFS_memory_stat_free_delta *delta, uint index) |
|
void | PFS_thread::mem_cnt_alloc (size_t size) |
|
void | PFS_thread::mem_cnt_free (size_t size) |
|
void | PFS_table::sanitized_aggregate () |
| Aggregate this table handle statistics to the parents. More...
|
|
void | PFS_table::sanitized_aggregate_io () |
| Aggregate this table handle I/O statistics to the parents. More...
|
|
void | PFS_table::sanitized_aggregate_lock () |
| Aggregate this table handle lock statistics to the parents. More...
|
|
static void | PFS_table::safe_aggregate_io (const TABLE_SHARE *optional_server_share, PFS_table_stat *stat, PFS_table_share *table_share) |
|
static void | PFS_table::safe_aggregate_lock (PFS_table_stat *stat, PFS_table_share *table_share) |
|
const char * | PFS_instr_name::str () const |
| Return the name as a string. More...
|
|
uint | PFS_instr_name::length () const |
| Return the length of the string. More...
|
|
void | PFS_instr_name::set (PFS_class_type class_type, const char *name, uint max_length_arg=max_length) |
| Copy the specified name to this name. More...
|
|
PFS_table_share_lock * | PFS_table_share::find_lock_stat () const |
| Find an existing table share lock instrumentation. More...
|
|
PFS_table_share_lock * | PFS_table_share::find_or_create_lock_stat () |
| Find or create a table share lock instrumentation. More...
|
|
void | PFS_table_share::destroy_lock_stat () |
| Destroy a table share lock instrumentation. More...
|
|
PFS_table_share_index * | PFS_table_share::find_index_stat (uint index) const |
| Find an existing table share index instrumentation. More...
|
|
PFS_table_share_index * | PFS_table_share::find_or_create_index_stat (const TABLE_SHARE *server_share, uint index) |
| Find or create a table share index instrumentation. More...
|
|
void | PFS_table_share::destroy_index_stats () |
| Destroy table share index instrumentation. More...
|
|
void | PFS_table_share::refresh_setup_object_flags (PFS_thread *thread) |
|
void | PFS_table_share::aggregate_io () |
|
void | PFS_table_share::sum_io (PFS_single_stat *result, uint key_count) |
|
void | PFS_table_share::sum_lock (PFS_single_stat *result) |
|
void | PFS_table_share::sum (PFS_single_stat *result, uint key_count) |
|
void | PFS_table_share::aggregate_lock () |
|
void | PFS_memory_safe_stat::reset () |
|
void | PFS_memory_safe_stat::rebase () |
|
PFS_memory_stat_alloc_delta * | PFS_memory_safe_stat::count_alloc (size_t size, PFS_memory_stat_alloc_delta *delta) |
|
PFS_memory_stat_free_delta * | PFS_memory_safe_stat::count_free (size_t size, PFS_memory_stat_free_delta *delta) |
|
void | PFS_memory_shared_stat::reset () |
|
void | PFS_memory_shared_stat::rebase () |
|
void | PFS_memory_shared_stat::count_builtin_alloc (size_t size) |
|
void | PFS_memory_shared_stat::count_builtin_free (size_t size) |
|
PFS_memory_stat_alloc_delta * | PFS_memory_shared_stat::count_alloc (size_t size, PFS_memory_stat_alloc_delta *delta) |
|
PFS_memory_stat_free_delta * | PFS_memory_shared_stat::count_free (size_t size, PFS_memory_stat_free_delta *delta) |
|
PFS_memory_stat_alloc_delta * | PFS_memory_shared_stat::apply_alloc_delta (const PFS_memory_stat_alloc_delta *delta, PFS_memory_stat_alloc_delta *delta_buffer) |
|
PFS_memory_stat_free_delta * | PFS_memory_shared_stat::apply_free_delta (const PFS_memory_stat_free_delta *delta, PFS_memory_stat_free_delta *delta_buffer) |
|
void | PFS_memory_monitoring_stat::reset () |
|
void | PFS_session_all_memory_stat::reset () |
|
void | PFS_session_all_memory_stat::count_controlled_alloc (size_t size) |
|
void | PFS_session_all_memory_stat::count_uncontrolled_alloc (size_t size) |
|
void | PFS_session_all_memory_stat::count_controlled_free (size_t size) |
|
void | PFS_session_all_memory_stat::count_uncontrolled_free (size_t size) |
|
void | PFS_memory_monitoring_stat::normalize (bool global) |
|
void | PFS_user::aggregate (bool alive) |
|
void | PFS_user::aggregate_waits () |
|
void | PFS_user::aggregate_stages () |
|
void | PFS_user::aggregate_statements () |
|
void | PFS_user::aggregate_transactions () |
|
void | PFS_user::aggregate_errors () |
|
void | PFS_user::aggregate_memory (bool alive) |
|
void | PFS_user::aggregate_status () |
|
void | PFS_user::aggregate_stats () |
|
void | PFS_user::aggregate_stats_from (PFS_account *pfs) |
|
void | PFS_user::aggregate_disconnect (ulonglong controlled_memory, ulonglong total_memory) |
|
void | PFS_user::release () |
|
void | PFS_user::rebase_memory_stats () |
| Reset all memory statistics. More...
|
|
void | PFS_user::carry_memory_stat_alloc_delta (PFS_memory_stat_alloc_delta *delta, uint index) |
|
void | PFS_user::carry_memory_stat_free_delta (PFS_memory_stat_free_delta *delta, uint index) |
|
static void | PFS_connection_iterator::visit_global (bool with_hosts, bool with_users, bool with_accounts, bool with_threads, bool with_THDs, PFS_connection_visitor *visitor) |
| Visit all connections. More...
|
|
static void | PFS_connection_iterator::visit_host (PFS_host *host, bool with_accounts, bool with_threads, bool with_THDs, PFS_connection_visitor *visitor) |
| Visit all connections of a host. More...
|
|
static void | PFS_connection_iterator::visit_user (PFS_user *user, bool with_accounts, bool with_threads, bool with_THDs, PFS_connection_visitor *visitor) |
| Visit all connections of a user. More...
|
|
static void | PFS_connection_iterator::visit_account (PFS_account *account, bool with_threads, bool with_THDs, PFS_connection_visitor *visitor) |
| Visit all connections of a user+host. More...
|
|
static void | PFS_instance_iterator::visit_all (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_mutex (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_mutex_classes (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_mutex_instances (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_rwlock (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_rwlock_classes (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_rwlock_instances (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_cond (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_cond_classes (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_cond_instances (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_file (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_file_classes (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_all_file_instances (PFS_instance_visitor *visitor) |
|
static void | PFS_instance_iterator::visit_mutex_instances (PFS_mutex_class *klass, PFS_instance_visitor *visitor) |
| Visit a mutex class and related instances. More...
|
|
static void | PFS_instance_iterator::visit_rwlock_instances (PFS_rwlock_class *klass, PFS_instance_visitor *visitor) |
| Visit a rwlock class and related instances. More...
|
|
static void | PFS_instance_iterator::visit_cond_instances (PFS_cond_class *klass, PFS_instance_visitor *visitor) |
| Visit a cond class and related instances. More...
|
|
static void | PFS_instance_iterator::visit_file_instances (PFS_file_class *klass, PFS_instance_visitor *visitor) |
| Visit a file class and related instances. More...
|
|
static void | PFS_instance_iterator::visit_socket_instances (PFS_socket_class *klass, PFS_instance_visitor *visitor) |
| Visit a socket class and related instances. More...
|
|
static void | PFS_instance_iterator::visit_socket_instances (PFS_socket_class *klass, PFS_instance_visitor *visitor, PFS_thread *thread, bool visit_class=true) |
| Visit a socket class and related instances. More...
|
|
static void | PFS_instance_iterator::visit_instances (PFS_instr_class *klass, PFS_instance_visitor *visitor, PFS_thread *thread, bool visit_class=true) |
| Visit an instrument class and related instances. More...
|
|
static void | PFS_object_iterator::visit_all (PFS_object_visitor *visitor) |
| Visit all objects. More...
|
|
static void | PFS_object_iterator::visit_all_tables (PFS_object_visitor *visitor) |
| Visit all tables and related handles. More...
|
|
static void | PFS_object_iterator::visit_tables (PFS_table_share *share, PFS_object_visitor *visitor) |
| Visit a table and related table handles. More...
|
|
static void | PFS_object_iterator::visit_table_indexes (PFS_table_share *share, uint index, PFS_object_visitor *visitor) |
| Visit a table index and related table handles indexes. More...
|
|
| PFS_connection_wait_visitor::PFS_connection_wait_visitor (PFS_instr_class *klass) |
| Constructor. More...
|
|
| PFS_connection_wait_visitor::~PFS_connection_wait_visitor () override |
|
void | PFS_connection_wait_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_wait_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_wait_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_wait_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_wait_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_all_wait_visitor::PFS_connection_all_wait_visitor () |
| Constructor. More...
|
|
| PFS_connection_all_wait_visitor::~PFS_connection_all_wait_visitor () override |
|
void | PFS_connection_all_wait_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_all_wait_visitor::visit_connection_slice (PFS_connection_slice *pfs) |
|
void | PFS_connection_all_wait_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_all_wait_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_all_wait_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_all_wait_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_stage_visitor::PFS_connection_stage_visitor (PFS_stage_class *klass) |
| Constructor. More...
|
|
| PFS_connection_stage_visitor::~PFS_connection_stage_visitor () override |
|
void | PFS_connection_stage_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_stage_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_stage_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_stage_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_stage_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_statement_visitor::PFS_connection_statement_visitor (PFS_statement_class *klass) |
| Constructor. More...
|
|
| PFS_connection_statement_visitor::~PFS_connection_statement_visitor () override |
|
void | PFS_connection_statement_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_statement_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_statement_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_statement_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_statement_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_all_statement_visitor::PFS_connection_all_statement_visitor () |
| Constructor. More...
|
|
| PFS_connection_all_statement_visitor::~PFS_connection_all_statement_visitor () override |
|
void | PFS_connection_all_statement_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_all_statement_visitor::visit_connection_slice (PFS_connection_slice *pfs) |
|
void | PFS_connection_all_statement_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_all_statement_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_all_statement_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_all_statement_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_transaction_visitor::PFS_connection_transaction_visitor (PFS_transaction_class *klass) |
| Constructor. More...
|
|
| PFS_connection_transaction_visitor::~PFS_connection_transaction_visitor () override |
|
void | PFS_connection_transaction_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_transaction_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_transaction_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_transaction_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_transaction_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_error_visitor::PFS_connection_error_visitor (PFS_error_class *klass, uint index) |
| Constructor. More...
|
|
| PFS_connection_error_visitor::~PFS_connection_error_visitor () override |
|
void | PFS_connection_error_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_error_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_error_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_error_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_error_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_stat_visitor::PFS_connection_stat_visitor () |
| Constructor. More...
|
|
| PFS_connection_stat_visitor::~PFS_connection_stat_visitor () override |
|
void | PFS_connection_stat_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_stat_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_stat_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_stat_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_stat_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_memory_visitor::PFS_connection_memory_visitor (PFS_memory_class *klass) |
| Constructor. More...
|
|
| PFS_connection_memory_visitor::~PFS_connection_memory_visitor () override |
|
void | PFS_connection_memory_visitor::visit_global () override |
| Visit all connections. More...
|
|
void | PFS_connection_memory_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_memory_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_memory_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_memory_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
| PFS_connection_status_visitor::PFS_connection_status_visitor (System_status_var *status_vars) |
| Constructor. More...
|
|
| PFS_connection_status_visitor::~PFS_connection_status_visitor () override |
|
void | PFS_connection_status_visitor::visit_global () override |
| Aggregate from global status. More...
|
|
void | PFS_connection_status_visitor::visit_host (PFS_host *pfs) override |
| Visit all connections of a host. More...
|
|
void | PFS_connection_status_visitor::visit_user (PFS_user *pfs) override |
| Visit all connections of a user. More...
|
|
void | PFS_connection_status_visitor::visit_account (PFS_account *pfs) override |
| Visit all connections of a user+host. More...
|
|
void | PFS_connection_status_visitor::visit_thread (PFS_thread *pfs) override |
| Visit a thread. More...
|
|
void | PFS_connection_status_visitor::visit_THD (THD *thd) override |
| Visit a THD associated with a thread. More...
|
|
| PFS_instance_wait_visitor::PFS_instance_wait_visitor () |
|
| PFS_instance_wait_visitor::~PFS_instance_wait_visitor () override |
|
void | PFS_instance_wait_visitor::visit_mutex_class (PFS_mutex_class *pfs) override |
| Visit a mutex class. More...
|
|
void | PFS_instance_wait_visitor::visit_rwlock_class (PFS_rwlock_class *pfs) override |
| Visit a rwlock class. More...
|
|
void | PFS_instance_wait_visitor::visit_cond_class (PFS_cond_class *pfs) override |
| Visit a cond class. More...
|
|
void | PFS_instance_wait_visitor::visit_file_class (PFS_file_class *pfs) override |
| Visit a file class. More...
|
|
void | PFS_instance_wait_visitor::visit_socket_class (PFS_socket_class *pfs) override |
| Visit a socket class. More...
|
|
void | PFS_instance_wait_visitor::visit_mutex (PFS_mutex *pfs) override |
| Visit a mutex instance. More...
|
|
void | PFS_instance_wait_visitor::visit_rwlock (PFS_rwlock *pfs) override |
| Visit a rwlock instance. More...
|
|
void | PFS_instance_wait_visitor::visit_cond (PFS_cond *pfs) override |
| Visit a cond instance. More...
|
|
void | PFS_instance_wait_visitor::visit_file (PFS_file *pfs) override |
| Visit a file instance. More...
|
|
void | PFS_instance_wait_visitor::visit_socket (PFS_socket *pfs) override |
| Visit a socket instance. More...
|
|
| PFS_object_wait_visitor::PFS_object_wait_visitor () |
| Table I/O wait visitor. More...
|
|
| PFS_object_wait_visitor::~PFS_object_wait_visitor () override |
|
void | PFS_object_wait_visitor::visit_global () override |
| Visit global data. More...
|
|
void | PFS_object_wait_visitor::visit_table_share (PFS_table_share *pfs) override |
| Visit a table share. More...
|
|
void | PFS_object_wait_visitor::visit_table (PFS_table *pfs) override |
| Visit a table. More...
|
|
| PFS_table_io_wait_visitor::PFS_table_io_wait_visitor () |
|
| PFS_table_io_wait_visitor::~PFS_table_io_wait_visitor () override |
|
void | PFS_table_io_wait_visitor::visit_global () override |
| Visit global data. More...
|
|
void | PFS_table_io_wait_visitor::visit_table_share (PFS_table_share *pfs) override |
| Visit a table share. More...
|
|
void | PFS_table_io_wait_visitor::visit_table (PFS_table *pfs) override |
| Visit a table. More...
|
|
| PFS_table_io_stat_visitor::PFS_table_io_stat_visitor () |
| Table I/O stat visitor. More...
|
|
| PFS_table_io_stat_visitor::~PFS_table_io_stat_visitor () override |
|
void | PFS_table_io_stat_visitor::visit_table_share (PFS_table_share *pfs) override |
| Visit a table share. More...
|
|
void | PFS_table_io_stat_visitor::visit_table (PFS_table *pfs) override |
| Visit a table. More...
|
|
| PFS_index_io_stat_visitor::PFS_index_io_stat_visitor () |
| Index I/O stat visitor. More...
|
|
| PFS_index_io_stat_visitor::~PFS_index_io_stat_visitor () override |
|
void | PFS_index_io_stat_visitor::visit_table_share_index (PFS_table_share *pfs, uint index) override |
| Visit a table share index. More...
|
|
void | PFS_index_io_stat_visitor::visit_table_index (PFS_table *pfs, uint index) override |
| Visit a table index. More...
|
|
| PFS_table_lock_wait_visitor::PFS_table_lock_wait_visitor () |
| Table lock wait visitor. More...
|
|
| PFS_table_lock_wait_visitor::~PFS_table_lock_wait_visitor () override |
|
void | PFS_table_lock_wait_visitor::visit_global () override |
| Visit global data. More...
|
|
void | PFS_table_lock_wait_visitor::visit_table_share (PFS_table_share *pfs) override |
| Visit a table share. More...
|
|
void | PFS_table_lock_wait_visitor::visit_table (PFS_table *pfs) override |
| Visit a table. More...
|
|
| PFS_table_lock_stat_visitor::PFS_table_lock_stat_visitor () |
| Table lock stat visitor. More...
|
|
| PFS_table_lock_stat_visitor::~PFS_table_lock_stat_visitor () override |
|
void | PFS_table_lock_stat_visitor::visit_table_share (PFS_table_share *pfs) override |
| Visit a table share. More...
|
|
void | PFS_table_lock_stat_visitor::visit_table (PFS_table *pfs) override |
| Visit a table. More...
|
|
| PFS_instance_socket_io_stat_visitor::PFS_instance_socket_io_stat_visitor () |
|
| PFS_instance_socket_io_stat_visitor::~PFS_instance_socket_io_stat_visitor () override |
|
void | PFS_instance_socket_io_stat_visitor::visit_socket_class (PFS_socket_class *pfs) override |
| Visit a socket class. More...
|
|
void | PFS_instance_socket_io_stat_visitor::visit_socket (PFS_socket *pfs) override |
| Visit a socket instance. More...
|
|
| PFS_instance_file_io_stat_visitor::PFS_instance_file_io_stat_visitor () |
|
| PFS_instance_file_io_stat_visitor::~PFS_instance_file_io_stat_visitor () override |
|
void | PFS_instance_file_io_stat_visitor::visit_file_class (PFS_file_class *pfs) override |
| Visit a file class. More...
|
|
void | PFS_instance_file_io_stat_visitor::visit_file (PFS_file *pfs) override |
| Visit a file instance. More...
|
|