24#ifndef COMPONENTS_SERVICES_BITS_PSI_TABLE_BITS_H
25#define COMPONENTS_SERVICES_BITS_PSI_TABLE_BITS_H
142 int schema_name_length,
144 int table_name_length);
153 const void *identity);
194 unsigned int src_line);
202 unsigned long long numrows);
216 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:201
void(* release_table_share_v1_t)(struct PSI_table_share *share)
Release a table share.
Definition: psi_table_bits.h:131
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:222
struct PSI_table_locker PSI_table_locker
Definition: psi_table_bits.h:43
void(* unlock_table_v1_t)(struct PSI_table *table)
Record a table unlock event.
Definition: psi_table_bits.h:228
void(* close_table_v1_t)(struct TABLE_SHARE *server_share, struct PSI_table *table)
Close an instrumentation table handle.
Definition: psi_table_bits.h:179
void(* unbind_table_v1_t)(struct PSI_table *table)
Unbind a table handle from the current thread.
Definition: psi_table_bits.h:160
PSI_table_io_operation
IO operation performed on an instrumented table.
Definition: psi_table_bits.h:46
struct PSI_table_share PSI_table_share
Definition: psi_table_bits.h:100
PSI_table_lock_operation
Lock operation performed on an instrumented table.
Definition: psi_table_bits.h:110
struct PSI_table PSI_table
Definition: psi_table_bits.h:107
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:141
@ PSI_TABLE_UPDATE_ROW
Row update.
Definition: psi_table_bits.h:52
@ PSI_TABLE_FETCH_ROW
Row fetch.
Definition: psi_table_bits.h:48
@ PSI_TABLE_WRITE_ROW
Row write.
Definition: psi_table_bits.h:50
@ PSI_TABLE_DELETE_ROW
Row delete.
Definition: psi_table_bits.h:54
@ PSI_TABLE_EXTERNAL_LOCK
Table lock, in the storage engine layer.
Definition: psi_table_bits.h:114
@ PSI_TABLE_LOCK
Table lock, in the server layer.
Definition: psi_table_bits.h:112
struct PSI_thread PSI_thread
Definition: psi_thread_bits.h:82
static int flags[50]
Definition: hp_test1.cc:40
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
const char * table_name
Definition: rules_table_service.cc:56
State data storage for start_table_io_wait_v1_t, start_table_lock_wait_v1_t.
Definition: psi_table_bits.h:69
unsigned int m_index
Implementation specific.
Definition: psi_table_bits.h:91
struct PSI_table * m_table
Current table handle.
Definition: psi_table_bits.h:75
unsigned long long(* m_timer)(void)
Timer function.
Definition: psi_table_bits.h:83
unsigned int m_flags
Internal state.
Definition: psi_table_bits.h:71
unsigned long long m_timer_start
Timer start.
Definition: psi_table_bits.h:81
struct PSI_table_share * m_table_share
Current table share.
Definition: psi_table_bits.h:77
void * m_wait
Internal data.
Definition: psi_table_bits.h:85
enum PSI_table_io_operation m_io_operation
Current io operation.
Definition: psi_table_bits.h:73
struct PSI_thread * m_thread
Current thread.
Definition: psi_table_bits.h:79
This structure is shared between different table objects.
Definition: table.h:704