24#ifndef MYSQL_PSI_MEMORY_H
25#define MYSQL_PSI_MEMORY_H
66#define PSI_MEMORY_VERSION_1 1
73#define PSI_MEMORY_VERSION_2 2
80#define PSI_CURRENT_MEMORY_VERSION 2
98#ifdef HAVE_PSI_MEMORY_INTERFACE
MYSQL_PLUGIN_IMPORT PSI_memory_service_t * psi_memory_service
Definition: psi_noop.cc:957
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:125
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:103
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:92
void(* register_memory_v1_t)(const char *category, struct PSI_memory_info_v1 *info, int count)
Memory registration API.
Definition: psi_memory_bits.h:81
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory.h:59
void(* memory_free_v1_t)(PSI_memory_key key, size_t size, struct PSI_thread *owner)
Instrument memory free.
Definition: psi_memory_bits.h:135
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...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:71
Performance schema instrumentation interface.
required uint64 version
Definition: replication_group_member_actions.proto:41
Entry point for the performance schema interface.
Definition: psi_memory.h:85
Performance Schema Memory Interface, version 2.
Definition: psi_memory.h:104
memory_claim_v2_t memory_claim
Definition: psi_memory.h:112
memory_alloc_v1_t memory_alloc
Definition: psi_memory.h:108
memory_free_v1_t memory_free
Definition: psi_memory.h:114
memory_realloc_v1_t memory_realloc
Definition: psi_memory.h:110
register_memory_v1_t register_memory
Definition: psi_memory.h:106