24#ifndef PFS_STAGE_PROVIDER_H
25#define PFS_STAGE_PROVIDER_H
35#ifdef HAVE_PSI_STAGE_INTERFACE
36#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
37#ifndef MYSQL_DYNAMIC_PLUGIN
38#ifndef WITH_LOCK_ORDER
43#define PSI_STAGE_CALL(M) pfs_##M##_v1
49 const char *src_file,
int src_line);
unsigned int PSI_stage_key
Instrumented stage key.
Definition: psi_stage_bits.h:43
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:45
static const char * category
Definition: sha2_password.cc:170
void pfs_register_stage_v1(const char *category, PSI_stage_info_v1 **info_array, int count)
Definition: pfs.cc:2573
void pfs_end_stage_v1()
Definition: pfs.cc:6012
PSI_stage_progress_v1 * pfs_start_stage_v1(PSI_stage_key key, const char *src_file, int src_line)
Definition: pfs.cc:5891
PSI_stage_progress_v1 * pfs_get_current_stage_progress_v1()
Definition: pfs.cc:6003
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Stage instrument information.
Definition: psi_stage_bits.h:74
Interface for an instrumented stage progress.
Definition: psi_stage_bits.h:63