24#ifndef PFS_FILE_PROVIDER_H 
   25#define PFS_FILE_PROVIDER_H 
   37#ifdef HAVE_PSI_FILE_INTERFACE 
   38#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL) 
   39#ifndef MYSQL_DYNAMIC_PLUGIN 
   40#ifndef WITH_LOCK_ORDER 
   55#define PSI_FILE_CALL(M) pfs_##M##_vc 
   64    const char *
name, 
const void *identity);
 
   84                            const char *src_file, 
uint src_line);
 
   94                                   const char *old_name, 
const char *new_name,
 
   95                                   const char *src_file, 
uint src_line);
 
   98                                 const char *new_name, 
int rc);
 
struct PSI_file PSI_file
Definition: psi_file_bits.h:55
 
unsigned int PSI_file_key
Instrumented file key.
Definition: psi_file_bits.h:48
 
struct PSI_file_locker PSI_file_locker
Definition: psi_file_bits.h:62
 
PSI_file_operation
Operation performed on an instrumented file.
Definition: psi_file_bits.h:65
 
Some integer typedefs for easier portability.
 
Common #defines and includes for file and socket I/O.
 
int File
Definition: my_io_bits.h:51
 
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
 
static int count
Definition: myisam_ftdump.cc:43
 
static const char * category
Definition: sha2_password.cc:170
 
const char * filename
Definition: pfs_example_component_population.cc:67
 
void pfs_create_file_vc(PSI_file_key key, const char *name, File file)
Implementation of the file instrumentation interface.
Definition: pfs.cc:2951
 
void pfs_start_file_close_wait_vc(PSI_file_locker *locker, const char *src_file, uint src_line)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5744
 
void pfs_end_file_close_wait_vc(PSI_file_locker *locker, int rc)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5769
 
PSI_file_locker * pfs_get_thread_file_descriptor_locker_vc(PSI_file_locker_state *state, File file, PSI_file_operation op)
Implementation of the file instrumentation interface.
Definition: pfs.cc:4530
 
PSI_file_locker * pfs_get_thread_file_name_locker_vc(PSI_file_locker_state *state, PSI_file_key key, PSI_file_operation op, const char *name, const void *identity)
Implementation of the file instrumentation interface.
Definition: pfs.cc:4323
 
void pfs_end_file_open_wait_and_bind_to_descriptor_vc(PSI_file_locker *locker, File file)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5554
 
PSI_file * pfs_end_file_open_wait_vc(PSI_file_locker *locker, void *result)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5519
 
void pfs_end_file_rename_wait_vc(PSI_file_locker *locker, const char *old_name, const char *new_name, int rc)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5837
 
void pfs_start_file_wait_vc(PSI_file_locker *locker, size_t count, const char *src_file, uint src_line)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5608
 
void pfs_end_temp_file_open_wait_and_bind_to_descriptor_vc(PSI_file_locker *locker, File file, const char *filename)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5588
 
void pfs_register_file_vc(const char *category, PSI_file_info_v1 *info, int count)
Implementation of the file instrumentation interface.
Definition: pfs.cc:2560
 
PSI_file_locker * pfs_get_thread_file_stream_locker_vc(PSI_file_locker_state *state, PSI_file *file, PSI_file_operation op)
Implementation of the file instrumentation interface.
Definition: pfs.cc:4433
 
void pfs_start_file_open_wait_vc(PSI_file_locker *locker, const char *src_file, uint src_line)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5510
 
void pfs_end_file_wait_vc(PSI_file_locker *locker, size_t byte_count)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5636
 
void pfs_start_file_rename_wait_vc(PSI_file_locker *locker, size_t count, const char *old_name, const char *new_name, const char *src_file, uint src_line)
Implementation of the file instrumentation interface.
Definition: pfs.cc:5814
 
Performance schema instrumentation interface.
 
required string key
Definition: replication_asynchronous_connection_failover.proto:60
 
case opt name
Definition: sslopt-case.h:33
 
File instrument information.
Definition: psi_file_bits.h:114
 
State data storage for get_thread_file_name_locker_v1_t.
Definition: psi_file_bits.h:146
 
unsigned int uint
Definition: uca9-dump.cc:75