28#ifndef MYSYS_PRIV_INCLUDED
29#define MYSYS_PRIV_INCLUDED
64#ifdef HAVE_LINUX_LARGE_PAGES
108template <
class SYSC,
class RET>
113 }
while (
r ==
err && errno == EINTR);
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:44
unsigned int PSI_file_key
Instrumented file key.
Definition: psi_file_bits.h:48
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
unsigned int PSI_rwlock_key
Instrumented rwlock key.
Definition: psi_rwlock_bits.h:44
unsigned int PSI_thread_key
Instrumented thread key.
Definition: psi_thread_bits.h:50
static const char * whence(const Item_field *cached_field)
Get the name of the cached field of an Item_cache_json instance.
Definition: item.cc:9912
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:52
int File
Definition: my_io_bits.h:51
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
int my_win_stat(const char *path, struct _stati64 *buf)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:845
FILE * my_win_freopen(const char *path, const char *mode, FILE *stream)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:757
void MyWinfileEnd()
Destroys static objects.
Definition: my_winfile.cc:893
int my_win_fstat(File fd, struct _stati64 *buf)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:807
int my_win_close(File fd)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:439
int64_t my_win_pwrite(File fd, const uchar *buffer, size_t count, int64_t offset)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:508
int my_win_fsync(File fd)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:872
int64_t my_win_pread(File fd, uchar *buffer, size_t count, int64_t offset)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:469
File my_win_open(const char *path, int mode)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:425
int my_win_fclose(FILE *stream)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:732
void MyWinfileInit()
Constructs static objects.
Definition: my_winfile.cc:886
File my_win_fileno(FILE *stream)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:632
FILE * my_win_fdopen(File fd, const char *mode)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:704
int my_win_chsize(File fd, int64_t newlength)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:601
int64_t my_win_lseek(File fd, int64_t pos, int whence)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:538
FILE * my_win_fopen(const char *filename, const char *mode)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:659
int64_t my_win_write(File fd, const uchar *Buffer, size_t Count)
Homegrown posix emulation for Windows.
Definition: my_winfile.cc:567
static int count
Definition: myisam_ftdump.cc:43
ABI for instrumented mutexes.
static char * path
Definition: mysqldump.cc:137
PSI_memory_key key_memory_my_err_head
Definition: my_static.cc:65
PSI_mutex_key key_IO_CACHE_SHARE_mutex
Definition: mysys_priv.h:47
PSI_mutex_key key_THR_LOCK_malloc
Definition: mysys_priv.h:49
PSI_memory_key key_memory_SAFE_HASH_ENTRY
Definition: my_static.cc:62
PSI_memory_key key_memory_lf_node
Definition: my_static.cc:56
void MyFileEnd()
Destroys static objects.
Definition: my_file.cc:285
PSI_memory_key key_memory_MY_DIR
Definition: my_static.cc:68
PSI_mutex_key key_THR_LOCK_myisam_mmap
Definition: mysys_priv.h:51
mysql_mutex_t THR_LOCK_net
Definition: my_thr_init.cc:78
mysql_mutex_t THR_LOCK_malloc
Definition: my_thr_init.cc:75
PSI_file_key key_file_charset
Definition: my_init.cc:514
PSI_cond_key key_IO_CACHE_SHARE_cond
Definition: my_init.cc:498
void my_error_unregister_all()
Unregister all formerly registered error messages.
Definition: my_error.cc:411
PSI_rwlock_key key_SAFE_HASH_lock
Definition: my_init.cc:491
PSI_mutex_key key_THR_LOCK_net
Definition: mysys_priv.h:50
PSI_mutex_key key_THR_LOCK_lock
Definition: mysys_priv.h:49
PSI_memory_key key_memory_lf_slist
Definition: my_static.cc:58
PSI_memory_key key_memory_IO_CACHE
Definition: my_static.cc:60
PSI_memory_key key_memory_defaults
Definition: my_default.cc:132
PSI_stage_info stage_waiting_for_table_level_lock
Definition: my_init.cc:451
PSI_memory_key key_memory_LIST
Definition: my_static.cc:59
PSI_memory_key key_memory_TREE
Definition: my_static.cc:71
PSI_memory_key key_memory_KEY_CACHE
Definition: my_static.cc:61
PSI_mutex_key key_THR_LOCK_threads
Definition: mysys_priv.h:51
PSI_mutex_key key_TMPDIR_mutex
Definition: mysys_priv.h:51
PSI_mutex_key key_THR_LOCK_mutex
Definition: mysys_priv.h:49
mysql_mutex_t THR_LOCK_charset
Definition: my_thr_init.cc:79
PSI_memory_key key_memory_MY_TMPDIR_full_list
Definition: my_static.cc:69
PSI_mutex_key key_IO_CACHE_append_buffer_lock
Definition: my_init.cc:457
PSI_cond_key key_THR_COND_threads
Definition: mysys_priv.h:56
PSI_file_key key_file_proc_meminfo
Definition: my_init.cc:512
PSI_memory_key key_memory_DYNAMIC_STRING
Definition: my_static.cc:70
PSI_mutex_key key_THR_LOCK_open
Definition: mysys_priv.h:50
PSI_mutex_key key_THR_LOCK_heap
Definition: mysys_priv.h:48
PSI_memory_key key_memory_my_file_info
Definition: my_static.cc:66
mysql_mutex_t THR_LOCK_open
Definition: mysys_priv.h:60
void MyFileInit()
Constructs static objects.
Definition: my_file.cc:277
PSI_memory_key key_memory_charset_loader
Definition: my_static.cc:55
PSI_thread_key key_thread_timer_notifier
Definition: my_static.cc:73
PSI_mutex_key key_THR_LOCK_charset
Definition: mysys_priv.h:48
PSI_mutex_key key_THR_LOCK_myisam
Definition: mysys_priv.h:50
PSI_memory_key key_memory_charset_file
Definition: my_static.cc:54
PSI_memory_key key_memory_my_compress_alloc
Definition: my_static.cc:64
PSI_memory_key key_memory_lf_dynarray
Definition: my_static.cc:57
PSI_cond_key key_IO_CACHE_SHARE_cond_writer
Definition: mysys_priv.h:55
PSI_mutex_key key_KEY_CACHE_cache_lock
Definition: mysys_priv.h:48
PSI_memory_key key_memory_MY_BITMAP_bitmap
Definition: my_static.cc:63
Definition: buf0block_hint.cc:30
const std::string FILE("FILE")
Definition: my_file.cc:181
void RegisterFilename(File fd, const char *FileName, OpenType type_of_file)
void UnregisterFilename(File fd)
void CountFileOpen(OpenType pt, OpenType ct)
void CountFileClose(OpenType ft)
static Value err()
Create a Value object that represents an error condition.
Definition: json_binary.cc:910
Definition: mysys_priv.h:107
RET RetryOnEintr(SYSC &&sysc, RET err)
Definition: mysys_priv.h:109
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:420
mode
Definition: file_handle.h:60
const char * filename
Definition: pfs_example_component_population.cc:67
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
Instrumentation helpers for mutexes.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Instrumentation helpers for mutexes.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Stage instrument information.
Definition: psi_stage_bits.h:74
OpenType
How was this file opened (for debugging purposes).
Definition: mysys_priv.h:152
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50