23#ifndef PFS_MEMORY_PROVIDER_H
24#define PFS_MEMORY_PROVIDER_H
34#ifdef HAVE_PSI_MEMORY_INTERFACE
35#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
36#ifndef MYSQL_DYNAMIC_PLUGIN
37#ifndef WITH_LOCK_ORDER
46#define PSI_MEMORY_CALL(M) pfs_##M##_vc
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:48
struct PSI_thread PSI_thread
Definition: psi_thread_bits.h:81
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:42
static const char * category
Definition: sha2_password.cc:169
void pfs_register_memory_vc(const char *category, struct PSI_memory_info_v1 *info, int count)
Definition: pfs.cc:8279
PSI_memory_key pfs_memory_realloc_vc(PSI_memory_key key, size_t old_size, size_t new_size, PSI_thread **owner)
Definition: pfs.cc:8372
PSI_memory_key pfs_memory_claim_vc(PSI_memory_key key, size_t size, PSI_thread **owner, bool claim)
Definition: pfs.cc:8449
PSI_memory_key pfs_memory_alloc_vc(PSI_memory_key key, size_t size, PSI_thread **owner)
Definition: pfs.cc:8285
void pfs_memory_free_vc(PSI_memory_key key, size_t size, PSI_thread *owner)
Definition: pfs.cc:8603
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:59
Memory instrument information.
Definition: psi_memory_bits.h:57