|
int | LOCK_ORDER_parse (struct LO_parser_param *param) |
|
static void | print_file (FILE *file, const char *format,...) |
|
static void | debug_lock_order_break_here (const char *why) |
|
static char * | deep_copy_string (const char *src) |
|
static void | destroy_string (char *src) |
|
static LO_authorised_arc * | deep_copy_arc (const LO_authorised_arc *src) |
|
static void | destroy_arc (LO_authorised_arc *arc) |
|
static LO_thread * | get_THR_LO () |
|
static void | set_THR_LO (LO_thread *lo) |
|
static void | lo_register_mutex (const char *category, PSI_mutex_info *info, int count) |
|
static void | lo_register_rwlock (const char *category, PSI_rwlock_info *info, int count) |
|
static void | lo_register_cond (const char *category, PSI_cond_info *info, int count) |
|
static void | lo_register_thread (const char *category, PSI_thread_info *info, int count) |
|
static void | lo_register_file (const char *category, PSI_file_info *info, int count) |
|
static void | lo_register_statement (const char *category, PSI_statement_info *info, int count) |
|
static PSI_mutex * | lo_init_mutex (PSI_mutex_key key, const void *identity) |
|
static void | lo_destroy_mutex (PSI_mutex *mutex) |
|
static PSI_rwlock * | lo_init_rwlock (PSI_rwlock_key key, const void *identity) |
|
static void | lo_destroy_rwlock (PSI_rwlock *rwlock) |
|
static PSI_cond * | lo_init_cond (PSI_cond_key key, const void *identity) |
|
static void | lo_destroy_cond (PSI_cond *cond) |
|
static void | lo_file_bindings_insert (size_t index, LO_file *lo_file) |
|
static LO_file * | lo_file_bindings_find (size_t index, bool remove) |
|
static void | lo_create_file (PSI_file_key key, const char *name, File file) |
|
void * | lo_spawn_thread_fct (void *arg) |
|
static int | lo_spawn_thread (PSI_thread_key key, PSI_thread_seqnum seqnum, my_thread_handle *thread, const my_thread_attr_t *attr, void *(*start_routine)(void *), void *arg) |
|
static PSI_thread * | lo_new_thread (PSI_thread_key key, PSI_thread_seqnum seqnum, const void *identity, ulonglong processlist_id) |
|
static void | lo_set_thread_id (PSI_thread *thread, ulonglong id) |
|
static ulonglong | lo_get_current_thread_internal_id () |
|
static ulonglong | lo_get_thread_internal_id (PSI_thread *thread) |
|
static PSI_thread * | lo_get_thread_by_id (ulonglong processlist_id) |
|
static void | lo_set_thread_THD (PSI_thread *thread, THD *thd) |
|
static void | lo_set_thread_os_id (PSI_thread *thread) |
|
static PSI_thread * | lo_get_thread () |
|
static void | lo_set_thread_user (const char *user, int user_len) |
|
static void | lo_set_thread_account (const char *user, int user_len, const char *host, int host_len) |
|
static void | lo_set_thread_db (const char *db, int db_len) |
|
static void | lo_set_thread_command (int command) |
|
static void | lo_set_connection_type (opaque_vio_type conn_type) |
|
static void | lo_set_thread_start_time (time_t start_time) |
|
static void | lo_set_thread_info (const char *info, uint info_len) |
|
static void | lo_set_thread_secondary_engine (bool secondary) |
|
static int | lo_set_thread_resource_group (const char *group_name, int group_name_len, void *user_data) |
|
static int | lo_set_thread_resource_group_by_id (PSI_thread *thread, ulonglong thread_id, const char *group_name, int group_name_len, void *user_data) |
|
static void | lo_set_thread_peer_port (PSI_thread *thread, uint port) |
|
static void | lo_set_thread (PSI_thread *thread) |
|
static void | lo_aggregate_thread_status (PSI_thread *thread) |
|
static void | lo_delete_current_thread () |
|
static void | lo_delete_thread (PSI_thread *thread) |
|
static PSI_file_locker * | lo_get_thread_file_name_locker (PSI_file_locker_state *state, PSI_file_key key, PSI_file_operation op, const char *name, const void *identity) |
|
static PSI_file_locker * | lo_get_thread_file_stream_locker (PSI_file_locker_state *state, PSI_file *file, PSI_file_operation op) |
|
static PSI_file_locker * | lo_get_thread_file_descriptor_locker (PSI_file_locker_state *state, File file, PSI_file_operation op) |
|
static void | lo_unlock_mutex (PSI_mutex *mutex) |
|
static void | lo_unlock_rwlock (PSI_rwlock *rwlock, PSI_rwlock_operation op) |
|
static void | lo_signal_cond (PSI_cond *cond) |
|
static void | lo_broadcast_cond (PSI_cond *cond) |
|
static PSI_idle_locker * | lo_start_idle_wait (PSI_idle_locker_state *state, const char *src_file, uint src_line) |
|
static void | lo_end_idle_wait (PSI_idle_locker *locker) |
|
static PSI_mutex_locker * | lo_start_mutex_wait (PSI_mutex_locker_state *state, PSI_mutex *mutex, PSI_mutex_operation op, const char *src_file, uint src_line) |
|
void | lo_end_mutex_wait (PSI_mutex_locker *locker, int rc) |
|
static PSI_rwlock_locker * | lo_start_rwlock_rdwait (PSI_rwlock_locker_state *state, PSI_rwlock *rwlock, PSI_rwlock_operation op, const char *src_file, uint src_line) |
|
static void | lo_end_rwlock_rdwait (PSI_rwlock_locker *locker, int rc) |
|
static PSI_rwlock_locker * | lo_start_rwlock_wrwait (PSI_rwlock_locker_state *state, PSI_rwlock *rwlock, PSI_rwlock_operation op, const char *src_file, uint src_line) |
|
static void | lo_end_rwlock_wrwait (PSI_rwlock_locker *locker, int rc) |
|
static PSI_cond_locker * | lo_start_cond_wait (PSI_cond_locker_state *state, PSI_cond *cond, PSI_mutex *mutex, PSI_cond_operation op, const char *src_file, uint src_line) |
|
static void | lo_end_cond_wait (PSI_cond_locker *locker, int rc) |
|
static PSI_statement_locker * | lo_get_thread_statement_locker (PSI_statement_locker_state *state, PSI_statement_key key, const void *cs, PSI_sp_share *sp_share) |
|
static PSI_statement_locker * | lo_refine_statement (PSI_statement_locker *locker, PSI_statement_key key) |
|
static void | lo_start_statement (PSI_statement_locker *locker, const char *db, uint db_len, const char *src_file, uint src_line) |
|
static void | lo_set_statement_text (PSI_statement_locker *locker, const char *text, uint text_len) |
|
static void | lo_set_statement_query_id (PSI_statement_locker *locker, ulonglong query_id) |
|
static void | lo_set_statement_lock_time (PSI_statement_locker *locker, ulonglong count) |
|
static void | lo_set_statement_rows_sent (PSI_statement_locker *locker, ulonglong count) |
|
static void | lo_set_statement_rows_examined (PSI_statement_locker *locker, ulonglong count) |
|
static void | lo_inc_statement_created_tmp_disk_tables (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_created_tmp_tables (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_select_full_join (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_select_full_range_join (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_select_range (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_select_range_check (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_select_scan (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_sort_merge_passes (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_sort_range (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_sort_rows (PSI_statement_locker *locker, ulong count) |
|
static void | lo_inc_statement_sort_scan (PSI_statement_locker *locker, ulong count) |
|
static void | lo_set_statement_no_index_used (PSI_statement_locker *locker) |
|
static void | lo_set_statement_no_good_index_used (PSI_statement_locker *locker) |
|
static void | lo_set_statement_secondary_engine (PSI_statement_locker *locker, bool secondary) |
|
static void | lo_end_statement (PSI_statement_locker *locker, void *stmt_da) |
|
PSI_prepared_stmt * | lo_create_prepared_stmt (void *identity, uint stmt_id, PSI_statement_locker *locker, const char *stmt_name, size_t stmt_name_length, const char *sql_text, size_t sql_text_length) |
|
void | lo_destroy_prepared_stmt (PSI_prepared_stmt *prepared_stmt) |
|
void | lo_reprepare_prepared_stmt (PSI_prepared_stmt *prepared_stmt) |
|
void | lo_execute_prepared_stmt (PSI_statement_locker *locker, PSI_prepared_stmt *ps) |
|
void | lo_set_prepared_stmt_text (PSI_prepared_stmt *prepared_stmt, const char *text, uint text_len) |
|
void | lo_set_prepared_stmt_secondary_engine (PSI_prepared_stmt *prepared_stmt, bool secondary) |
|
PSI_sp_share * | lo_get_sp_share (uint sp_type, const char *schema_name, uint schema_name_length, const char *object_name, uint object_name_length) |
|
void | lo_release_sp_share (PSI_sp_share *s) |
|
PSI_sp_locker * | lo_start_sp (PSI_sp_locker_state *state, PSI_sp_share *sp_share) |
|
void | lo_end_sp (PSI_sp_locker *locker) |
|
void | lo_drop_sp (uint sp_type, const char *schema_name, uint schema_name_length, const char *object_name, uint object_name_length) |
|
void | lo_notify_statement_query_attributes (struct PSI_statement_locker *locker, bool with_query_attributes) |
|
void | lo_statement_abort_telemetry (struct PSI_statement_locker *locker) |
|
static void | lo_start_file_open_wait (PSI_file_locker *locker, const char *src_file, uint src_line) |
|
static PSI_file * | lo_end_file_open_wait (PSI_file_locker *locker, void *result) |
|
static void | lo_end_file_open_wait_and_bind_to_descriptor (PSI_file_locker *locker, File file) |
|
static void | lo_end_temp_file_open_wait_and_bind_to_descriptor (PSI_file_locker *locker, File file, const char *filename) |
|
static void | lo_start_file_wait (PSI_file_locker *locker, size_t count, const char *src_file, uint src_line) |
|
static void | lo_end_file_wait (PSI_file_locker *locker, size_t count) |
|
static void | lo_start_file_close_wait (PSI_file_locker *locker, const char *src_file, uint src_line) |
|
static void | lo_end_file_close_wait (PSI_file_locker *locker, int rc) |
|
static void | lo_start_file_rename_wait (PSI_file_locker *locker, size_t count, const char *old_name, const char *new_name, const char *src_file, uint src_line) |
|
static void | lo_end_file_rename_wait (PSI_file_locker *locker, const char *old_name, const char *new_name, int rc) |
|
static PSI_digest_locker * | lo_digest_start (PSI_statement_locker *locker) |
|
static void | lo_digest_end (PSI_digest_locker *locker, const sql_digest_storage *digest) |
|
static int | lo_set_thread_connect_attrs (const char *a, uint b, const void *c) |
|
static void | lo_get_current_thread_event_id (ulonglong *thread_internal_id, ulonglong *event_id) |
|
static void | lo_get_thread_event_id (PSI_thread *psi, ulonglong *thread_internal_id, ulonglong *event_id) |
|
static int | lo_get_thread_system_attrs (PSI_thread_attrs *thread_attrs) |
|
static int | lo_get_thread_system_attrs_by_id (PSI_thread *thread, ulonglong thread_id, PSI_thread_attrs *thread_attrs) |
|
static int | lo_register_notification (const PSI_notification *callbacks, bool with_ref_count) |
|
static int | lo_unregister_notification (int handle) |
|
static void | lo_notify_session_connect (PSI_thread *thread) |
|
static void | lo_notify_session_disconnect (PSI_thread *thread) |
|
static void | lo_notify_session_change_user (PSI_thread *thread) |
|
static void | lo_set_mem_cnt_THD (THD *thd, THD **backup_thd) |
|
static void | lo_detect_telemetry (PSI_thread *thread) |
|
static void | lo_abort_telemetry (PSI_thread *thread) |
|
static void * | lo_get_thread_interface (int version) |
|
static void * | lo_get_mutex_interface (int version) |
|
static void * | lo_get_rwlock_interface (int version) |
|
static void * | lo_get_cond_interface (int version) |
|
static void * | lo_get_file_interface (int version) |
|
static void * | lo_get_idle_interface (int version) |
|
static void * | lo_get_statement_interface (int version) |
|
int | LO_load_graph (LO_graph *g) |
|
int | LO_init (LO_global_param *param, PSI_thread_bootstrap **thread_bootstrap, PSI_mutex_bootstrap **mutex_bootstrap, PSI_rwlock_bootstrap **rwlock_bootstrap, PSI_cond_bootstrap **cond_bootstrap, PSI_file_bootstrap **file_bootstrap, PSI_socket_bootstrap **, PSI_table_bootstrap **, PSI_mdl_bootstrap **, PSI_idle_bootstrap **idle_bootstrap, PSI_stage_bootstrap **, PSI_statement_bootstrap **statement_bootstrap, PSI_transaction_bootstrap **, PSI_memory_bootstrap **) |
|
int | LO_load_dependencies (LO_graph *g, const char *filename) |
|
void | LO_add_authorised_arc (LO_graph *g, const LO_authorised_arc *arc) |
|
void | LO_add_node_properties (LO_graph *g, const LO_node_properties *prop) |
|
void | LO_activate () |
|
void | LO_dump () |
|
void | LO_cleanup () |
|
PSI_thread * | LO_get_chain_thread (PSI_thread *thread) |
|