23#ifndef COMPONENTS_SERVICES_BITS_PSI_TABLE_BITS_H
24#define COMPONENTS_SERVICES_BITS_PSI_TABLE_BITS_H
141 int schema_name_length,
143 int table_name_length);
152 const void *identity);
193 unsigned int src_line);
201 unsigned long long numrows);
215 unsigned int src_line);
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
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_locker PSI_table_locker
Definition: psi_table_bits.h:42
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
PSI_table_io_operation
IO operation performed on an instrumented table.
Definition: psi_table_bits.h:45
struct PSI_table_share PSI_table_share
Definition: psi_table_bits.h:99
PSI_table_lock_operation
Lock operation performed on an instrumented table.
Definition: psi_table_bits.h:109
struct PSI_table PSI_table
Definition: psi_table_bits.h:106
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
@ PSI_TABLE_UPDATE_ROW
Row update.
Definition: psi_table_bits.h:51
@ PSI_TABLE_FETCH_ROW
Row fetch.
Definition: psi_table_bits.h:47
@ PSI_TABLE_WRITE_ROW
Row write.
Definition: psi_table_bits.h:49
@ PSI_TABLE_DELETE_ROW
Row delete.
Definition: psi_table_bits.h:53
@ PSI_TABLE_EXTERNAL_LOCK
Table lock, in the storage engine layer.
Definition: psi_table_bits.h:113
@ PSI_TABLE_LOCK
Table lock, in the server layer.
Definition: psi_table_bits.h:111
struct PSI_thread PSI_thread
Definition: psi_thread_bits.h:81
static int flags[50]
Definition: hp_test1.cc:39
const char * table_name
Definition: rules_table_service.cc:55
State data storage for start_table_io_wait_v1_t, start_table_lock_wait_v1_t.
Definition: psi_table_bits.h:68
unsigned int m_index
Implementation specific.
Definition: psi_table_bits.h:90
struct PSI_table * m_table
Current table handle.
Definition: psi_table_bits.h:74
unsigned long long(* m_timer)(void)
Timer function.
Definition: psi_table_bits.h:82
unsigned int m_flags
Internal state.
Definition: psi_table_bits.h:70
unsigned long long m_timer_start
Timer start.
Definition: psi_table_bits.h:80
struct PSI_table_share * m_table_share
Current table share.
Definition: psi_table_bits.h:76
void * m_wait
Internal data.
Definition: psi_table_bits.h:84
enum PSI_table_io_operation m_io_operation
Current io operation.
Definition: psi_table_bits.h:72
struct PSI_thread * m_thread
Current thread.
Definition: psi_table_bits.h:78
This structure is shared between different table objects.
Definition: table.h:688