23#ifndef COMPONENTS_SERVICES_BITS_PSI_MEMORY_BITS_H
24#define COMPONENTS_SERVICES_BITS_PSI_MEMORY_BITS_H
26#ifndef MYSQL_ABI_CHECK
103 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: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_bits.h:48
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:113
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
static int count
Definition: myisam_ftdump.cc:44
static const char * category
Definition: sha2_password.cc:169
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:59
Memory instrument information.
Definition: psi_memory_bits.h:57
PSI_memory_key * m_key
Pointer to the key assigned to the registered memory.
Definition: psi_memory_bits.h:59
const char * m_name
The name of the memory instrument to register.
Definition: psi_memory_bits.h:61
unsigned int m_flags
The flags of the memory instrument to register.
Definition: psi_memory_bits.h:66
const char * m_documentation
Documentation.
Definition: psi_memory_bits.h:70
int m_volatility
Volatility index.
Definition: psi_memory_bits.h:68