23#ifndef PFS_STAGE_PROVIDER_H
24#define PFS_STAGE_PROVIDER_H
34#ifdef HAVE_PSI_STAGE_INTERFACE
35#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
36#ifndef MYSQL_DYNAMIC_PLUGIN
37#ifndef WITH_LOCK_ORDER
42#define PSI_STAGE_CALL(M) pfs_##M##_v1
48 const char *src_file,
int src_line);
unsigned int PSI_stage_key
Instrumented stage key.
Definition: psi_stage_bits.h:42
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:44
static const char * category
Definition: sha2_password.cc:169
void pfs_register_stage_v1(const char *category, PSI_stage_info_v1 **info_array, int count)
Definition: pfs.cc:2558
void pfs_end_stage_v1()
Definition: pfs.cc:5968
PSI_stage_progress_v1 * pfs_start_stage_v1(PSI_stage_key key, const char *src_file, int src_line)
Definition: pfs.cc:5848
PSI_stage_progress_v1 * pfs_get_current_stage_progress_v1()
Definition: pfs.cc:5959
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:59
Stage instrument information.
Definition: psi_stage_bits.h:73
Interface for an instrumented stage progress.
Definition: psi_stage_bits.h:62