MySQL 5.6.14 Source Code Document
|
#include <my_global.h>
#include <string.h>
#include "my_sys.h"
#include "pfs.h"
#include "pfs_stat.h"
#include "pfs_instr.h"
#include "pfs_host.h"
#include "pfs_user.h"
#include "pfs_account.h"
#include "pfs_global.h"
#include "pfs_instr_class.h"
Go to the source code of this file.
Functions | |
int | init_instruments (const PFS_global_param *param) |
void | cleanup_instruments (void) |
C_MODE_END int | init_file_hash (void) |
void | cleanup_file_hash (void) |
PFS_mutex * | create_mutex (PFS_mutex_class *klass, const void *identity) |
void | destroy_mutex (PFS_mutex *pfs) |
PFS_rwlock * | create_rwlock (PFS_rwlock_class *klass, const void *identity) |
void | destroy_rwlock (PFS_rwlock *pfs) |
PFS_cond * | create_cond (PFS_cond_class *klass, const void *identity) |
void | destroy_cond (PFS_cond *pfs) |
PFS_thread * | create_thread (PFS_thread_class *klass, const void *identity, ulonglong processlist_id) |
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) |
PFS_file * | sanitize_file (PFS_file *unsafe) |
PFS_socket * | sanitize_socket (PFS_socket *unsafe) |
void | destroy_thread (PFS_thread *pfs) |
LF_PINS * | get_filename_hash_pins (PFS_thread *thread) |
PFS_file * | find_or_create_file (PFS_thread *thread, PFS_file_class *klass, const char *filename, uint len, bool create) |
void | release_file (PFS_file *pfs) |
void | destroy_file (PFS_thread *thread, PFS_file *pfs) |
PFS_table * | create_table (PFS_table_share *share, PFS_thread *opening_thread, const void *identity) |
void | destroy_table (PFS_table *pfs) |
PFS_socket * | create_socket (PFS_socket_class *klass, const my_socket *fd, const struct sockaddr *addr, socklen_t addr_len) |
void | destroy_socket (PFS_socket *pfs) |
void | reset_events_waits_by_instance (void) |
void | reset_file_instance_io (void) |
void | reset_socket_instance_io (void) |
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_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 | clear_thread_account (PFS_thread *thread) |
void | set_thread_account (PFS_thread *thread) |
void | update_mutex_derived_flags () |
void | update_rwlock_derived_flags () |
void | update_cond_derived_flags () |
void | update_file_derived_flags () |
void | update_table_derived_flags () |
void | update_socket_derived_flags () |
void | update_instruments_derived_flags () |
Performance schema instruments (implementation).
Definition in file pfs_instr.cc.