23#ifndef MYSQL_PSI_TABLE_H
24#define MYSQL_PSI_TABLE_H
49#define PSI_TABLE_VERSION_1 1
56#define PSI_CURRENT_TABLE_VERSION 1
72#ifdef HAVE_PSI_TABLE_INTERFACE
MYSQL_PLUGIN_IMPORT PSI_table_service_t * psi_table_service
Definition: psi_noop.cc:543
void(* end_table_io_wait_v1_t)(struct PSI_table_locker *locker, unsigned long long numrows)
Record a table instrumentation io wait end event.
Definition: psi_table_bits.h:200
void(* release_table_share_v1_t)(struct PSI_table_share *share)
Release a table share.
Definition: psi_table_bits.h:130
struct PSI_table_locker *(* start_table_lock_wait_v1_t)(struct PSI_table_locker_state *state, struct PSI_table *table, enum PSI_table_lock_operation op, unsigned long flags, const char *src_file, unsigned int src_line)
Record a table instrumentation lock wait start event.
Definition: psi_table_bits.h:212
void(* end_table_lock_wait_v1_t)(struct PSI_table_locker *locker)
Record a table instrumentation lock wait end event.
Definition: psi_table_bits.h:221
struct PSI_table *(* open_table_v1_t)(struct PSI_table_share *share, const void *identity)
Open an instrumentation table handle.
Definition: psi_table_bits.h:151
void(* unlock_table_v1_t)(struct PSI_table *table)
Record a table unlock event.
Definition: psi_table_bits.h:227
void(* close_table_v1_t)(struct TABLE_SHARE *server_share, struct PSI_table *table)
Close an instrumentation table handle.
Definition: psi_table_bits.h:178
void(* unbind_table_v1_t)(struct PSI_table *table)
Unbind a table handle from the current thread.
Definition: psi_table_bits.h:159
struct PSI_table_share *(* get_table_share_v1_t)(bool temporary, struct TABLE_SHARE *share)
Acquire a table share instrumentation.
Definition: psi_table_bits.h:123
void(* drop_table_share_v1_t)(bool temporary, const char *schema_name, int schema_name_length, const char *table_name, int table_name_length)
Drop a table share.
Definition: psi_table_bits.h:140
struct PSI_table_locker *(* start_table_io_wait_v1_t)(struct PSI_table_locker_state *state, struct PSI_table *table, enum PSI_table_io_operation op, unsigned int index, const char *src_file, unsigned int src_line)
Record a table instrumentation io wait start event.
Definition: psi_table_bits.h:190
PSI_table *(* rebind_table_v1_t)(PSI_table_share *share, const void *identity, PSI_table *table)
Rebind a table handle to the current thread.
Definition: psi_table_bits.h:169
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:70
Performance schema instrumentation interface.
required uint64 version
Definition: replication_group_member_actions.proto:40
Entry point for the performance schema interface.
Definition: psi_table.h:59
Performance Schema Transaction Interface, version 1.
Definition: psi_table.h:78
start_table_io_wait_v1_t start_table_io_wait
Definition: psi_table.h:94
release_table_share_v1_t release_table_share
Definition: psi_table.h:82
rebind_table_v1_t rebind_table
Definition: psi_table.h:90
start_table_lock_wait_v1_t start_table_lock_wait
Definition: psi_table.h:98
end_table_io_wait_v1_t end_table_io_wait
Definition: psi_table.h:96
close_table_v1_t close_table
Definition: psi_table.h:92
get_table_share_v1_t get_table_share
Definition: psi_table.h:80
unlock_table_v1_t unlock_table
Definition: psi_table.h:102
drop_table_share_v1_t drop_table_share
Definition: psi_table.h:84
open_table_v1_t open_table
Definition: psi_table.h:86
unbind_table_v1_t unbind_table
Definition: psi_table.h:88
end_table_lock_wait_v1_t end_table_lock_wait
Definition: psi_table.h:100