24#ifndef PFS_MEMORY_PROVIDER_H
25#define PFS_MEMORY_PROVIDER_H
35#ifdef HAVE_PSI_MEMORY_INTERFACE
36#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
37#ifndef MYSQL_DYNAMIC_PLUGIN
38#ifndef WITH_LOCK_ORDER
47#define PSI_MEMORY_CALL(M) pfs_##M##_vc
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
struct PSI_thread PSI_thread
Definition: psi_thread_bits.h:82
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:45
size_t size(const char *const c)
Definition: base64.h:46
static const char * category
Definition: sha2_password.cc:170
void pfs_register_memory_vc(const char *category, struct PSI_memory_info_v1 *info, int count)
Definition: pfs.cc:8370
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:8463
PSI_memory_key pfs_memory_claim_vc(PSI_memory_key key, size_t size, PSI_thread **owner, bool claim)
Definition: pfs.cc:8540
PSI_memory_key pfs_memory_alloc_vc(PSI_memory_key key, size_t size, PSI_thread **owner)
Definition: pfs.cc:8376
void pfs_memory_free_vc(PSI_memory_key key, size_t size, PSI_thread *owner)
Definition: pfs.cc:8694
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Memory instrument information.
Definition: psi_memory_bits.h:58