MySQL 9.1.0
Source Code Documentation
pfs_metric_provider.h File Reference

Performance schema instrumentation (declarations). More...

#include "my_psi_config.h"
#include "my_macros.h"
#include "mysql/psi/psi_metric.h"

Go to the source code of this file.

Macros

#define PSI_METRIC_CALL(M)   pfs_##M##_v1
 

Functions

void pfs_register_meters_v1 (PSI_meter_info_v1 *info, size_t count)
 
void pfs_unregister_meters_v1 (PSI_meter_info_v1 *info, size_t count)
 
void pfs_register_change_notification_v1 (meter_registration_changes_v1_t callback)
 
void pfs_unregister_change_notification_v1 (meter_registration_changes_v1_t callback)
 
void pfs_send_change_notification_v1 (const char *meter, MeterNotifyType change)
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_METRIC_CALL

#define PSI_METRIC_CALL (   M)    pfs_##M##_v1

Function Documentation

◆ pfs_register_change_notification_v1()

void pfs_register_change_notification_v1 ( meter_registration_changes_v1_t  callback)

◆ pfs_register_meters_v1()

void pfs_register_meters_v1 ( PSI_meter_info_v1 info,
size_t  count 
)

◆ pfs_send_change_notification_v1()

void pfs_send_change_notification_v1 ( const char *  meter,
MeterNotifyType  change 
)

◆ pfs_unregister_change_notification_v1()

void pfs_unregister_change_notification_v1 ( meter_registration_changes_v1_t  callback)

◆ pfs_unregister_meters_v1()

void pfs_unregister_meters_v1 ( PSI_meter_info_v1 info,
size_t  count 
)