41#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
46#ifndef PSI_METRIC_CALL
47#define PSI_METRIC_CALL(M) psi_metric_service->M
60#define mysql_meter_register(P1, P2) inline_mysql_meter_register(P1, P2)
64 size_t count [[maybe_unused]]) {
65#ifdef HAVE_PSI_METRICS_INTERFACE
74#define mysql_meter_unregister(P1, P2) inline_mysql_meter_unregister(P1, P2)
80#ifdef HAVE_PSI_METRICS_INTERFACE
89#define mysql_meter_notify_register(P1) inline_mysql_meter_notify_register(P1)
93#ifdef HAVE_PSI_METRICS_INTERFACE
102#define mysql_meter_notify_unregister(P1) \
103 inline_mysql_meter_notify_unregister(P1)
107#ifdef HAVE_PSI_METRICS_INTERFACE
116#define mysql_meter_notify_send(P1, P2) inline_mysql_meter_notify_send(P1, P2)
122#ifdef HAVE_PSI_METRICS_INTERFACE
#define PSI_METRIC_CALL(M)
Definition: psi_metric.h:36
static void inline_mysql_meter_notify_send(const char *meter, MeterNotifyType change)
Definition: mysql_metric.h:118
static void inline_mysql_meter_unregister(PSI_meter_info_v1 *info, size_t count)
Definition: mysql_metric.h:76
static void inline_mysql_meter_notify_unregister(meter_registration_changes_v1_t callback)
Definition: mysql_metric.h:105
static void inline_mysql_meter_notify_register(meter_registration_changes_v1_t callback)
Definition: mysql_metric.h:91
static void inline_mysql_meter_register(PSI_meter_info_v1 *info, size_t count)
Definition: mysql_metric.h:62
Header for compiler-dependent features.
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:45
static PSI_meter_info_v1 meter[]
Definition: plugin.cc:96
Performance schema instrumentation (declarations).
Performance schema instrumentation interface.
MeterNotifyType
Definition: psi_metric_bits.h:40
void(* meter_registration_changes_v1_t)(const char *meter, MeterNotifyType change)
Callback function to notify of changes within the set of registered meters.
Definition: psi_metric_bits.h:178
Define a meter source, storing char pointers requires the original strings to be valid for entire lif...
Definition: psi_metric_bits.h:143