MySQL 8.4.2
Source Code Documentation
pfs_file_provider.h File Reference

Performance schema instrumentation (declarations). More...

#include <sys/types.h>
#include "my_psi_config.h"
#include <stddef.h>
#include "my_inttypes.h"
#include "my_io.h"
#include "my_macros.h"
#include "mysql/psi/psi_file.h"

Go to the source code of this file.

Macros

#define PSI_FILE_CALL(M)   pfs_##M##_vc
 

Functions

void pfs_register_file_vc (const char *category, PSI_file_info_v1 *info, int count)
 Implementation of the file instrumentation interface. More...
 
void pfs_create_file_vc (PSI_file_key key, const char *name, File file)
 Implementation of the file instrumentation interface. More...
 
PSI_file_lockerpfs_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. More...
 
PSI_file_lockerpfs_get_thread_file_stream_locker_vc (PSI_file_locker_state *state, PSI_file *file, PSI_file_operation op)
 Implementation of the file instrumentation interface. More...
 
PSI_file_lockerpfs_get_thread_file_descriptor_locker_vc (PSI_file_locker_state *state, File file, PSI_file_operation op)
 Implementation of the file instrumentation interface. More...
 
void pfs_start_file_open_wait_vc (PSI_file_locker *locker, const char *src_file, uint src_line)
 Implementation of the file instrumentation interface. More...
 
PSI_filepfs_end_file_open_wait_vc (PSI_file_locker *locker, void *result)
 Implementation of the file instrumentation interface. More...
 
void pfs_end_file_open_wait_and_bind_to_descriptor_vc (PSI_file_locker *locker, File file)
 Implementation of the file instrumentation interface. More...
 
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. More...
 
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. More...
 
void pfs_end_file_wait_vc (PSI_file_locker *locker, size_t byte_count)
 Implementation of the file instrumentation interface. More...
 
void pfs_start_file_close_wait_vc (PSI_file_locker *locker, const char *src_file, uint src_line)
 Implementation of the file instrumentation interface. More...
 
void pfs_end_file_close_wait_vc (PSI_file_locker *locker, int rc)
 Implementation of the file instrumentation interface. More...
 
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. More...
 
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. More...
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_FILE_CALL

#define PSI_FILE_CALL (   M)    pfs_##M##_vc

Function Documentation

◆ pfs_create_file_vc()

void pfs_create_file_vc ( PSI_file_key  key,
const char *  name,
File  file 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::create_file.

◆ pfs_end_file_close_wait_vc()

void pfs_end_file_close_wait_vc ( PSI_file_locker locker,
int  rc 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::end_file_close_wait.

◆ pfs_end_file_open_wait_and_bind_to_descriptor_vc()

void pfs_end_file_open_wait_and_bind_to_descriptor_vc ( PSI_file_locker locker,
File  file 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::end_file_open_wait_and_bind_to_descriptor.

◆ pfs_end_file_open_wait_vc()

PSI_file * pfs_end_file_open_wait_vc ( PSI_file_locker locker,
void *  result 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::end_file_open_wait.

◆ pfs_end_file_rename_wait_vc()

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.

See also
PSI_v1::end_file_rename_wait.

◆ pfs_end_file_wait_vc()

void pfs_end_file_wait_vc ( PSI_file_locker locker,
size_t  byte_count 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::end_file_wait.

◆ pfs_end_temp_file_open_wait_and_bind_to_descriptor_vc()

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.

See also
PSI_v1::end_temp_file_open_wait_and_bind_to_descriptor.

◆ pfs_get_thread_file_descriptor_locker_vc()

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.

See also
PSI_v1::get_thread_file_descriptor_locker.

◆ pfs_get_thread_file_name_locker_vc()

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.

See also
PSI_v1::get_thread_file_name_locker.

◆ pfs_get_thread_file_stream_locker_vc()

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.

See also
PSI_v1::get_thread_file_stream_locker.

◆ pfs_register_file_vc()

void pfs_register_file_vc ( const char *  category,
PSI_file_info_v1 info,
int  count 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::register_file.

◆ pfs_start_file_close_wait_vc()

void pfs_start_file_close_wait_vc ( PSI_file_locker locker,
const char *  src_file,
uint  src_line 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::start_file_close_wait.

◆ pfs_start_file_open_wait_vc()

void pfs_start_file_open_wait_vc ( PSI_file_locker locker,
const char *  src_file,
uint  src_line 
)

Implementation of the file instrumentation interface.

See also
PSI_v1::start_file_open_wait.

◆ pfs_start_file_rename_wait_vc()

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.

See also
PSI_v1::start_file_rename_wait.

◆ pfs_start_file_wait_vc()

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.

See also
PSI_v1::start_file_wait.