24#ifndef COMPONENTS_SERVICES_BITS_PSI_MEMORY_BITS_H
25#define COMPONENTS_SERVICES_BITS_PSI_MEMORY_BITS_H
27#ifndef MYSQL_ABI_CHECK
104 size_t old_size,
size_t new_size,
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_bits.h:49
PSI_memory_key(* memory_claim_v1_t)(PSI_memory_key key, size_t size, struct PSI_thread **owner)
Instrument memory claim.
Definition: psi_memory_bits.h:114
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
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
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Memory instrument information.
Definition: psi_memory_bits.h:58
PSI_memory_key * m_key
Pointer to the key assigned to the registered memory.
Definition: psi_memory_bits.h:60
const char * m_name
The name of the memory instrument to register.
Definition: psi_memory_bits.h:62
unsigned int m_flags
The flags of the memory instrument to register.
Definition: psi_memory_bits.h:67
const char * m_documentation
Documentation.
Definition: psi_memory_bits.h:71
int m_volatility
Volatility index.
Definition: psi_memory_bits.h:69