23#ifndef MYSQL_PSI_MEMORY_H
24#define MYSQL_PSI_MEMORY_H
65#define PSI_MEMORY_VERSION_1 1
72#define PSI_MEMORY_VERSION_2 2
79#define PSI_CURRENT_MEMORY_VERSION 2
97#ifdef HAVE_PSI_MEMORY_INTERFACE
MYSQL_PLUGIN_IMPORT PSI_memory_service_t * psi_memory_service
Definition: psi_noop.cc:952
PSI_memory_key(* memory_claim_v2_t)(PSI_memory_key key, size_t size, struct PSI_thread **owner, bool claim)
Instrument memory claim.
Definition: psi_memory_bits.h:124
PSI_memory_key(* memory_realloc_v1_t)(PSI_memory_key key, size_t old_size, size_t new_size, struct PSI_thread **owner)
Instrument memory re allocation.
Definition: psi_memory_bits.h:102
PSI_memory_key(* memory_alloc_v1_t)(PSI_memory_key key, size_t size, struct PSI_thread **owner)
Instrument memory allocation.
Definition: psi_memory_bits.h:91
void(* register_memory_v1_t)(const char *category, struct PSI_memory_info_v1 *info, int count)
Memory registration API.
Definition: psi_memory_bits.h:80
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory.h:58
void(* memory_free_v1_t)(PSI_memory_key key, size_t size, struct PSI_thread *owner)
Instrument memory free.
Definition: psi_memory_bits.h:134
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...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:70
Performance schema instrumentation interface.
required uint64 version
Definition: replication_group_member_actions.proto:40
Entry point for the performance schema interface.
Definition: psi_memory.h:84
Performance Schema Memory Interface, version 2.
Definition: psi_memory.h:103
memory_claim_v2_t memory_claim
Definition: psi_memory.h:111
memory_alloc_v1_t memory_alloc
Definition: psi_memory.h:107
memory_free_v1_t memory_free
Definition: psi_memory.h:113
memory_realloc_v1_t memory_realloc
Definition: psi_memory.h:109
register_memory_v1_t register_memory
Definition: psi_memory.h:105