MySQL 8.3.0
Source Code Documentation
gcs_psi.h
Go to the documentation of this file.
1/* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is also distributed with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have included with MySQL.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License, version 2.0, for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22
23#ifndef GCS_PSI_H
24#define GCS_PSI_H
25
26#include <my_sys.h>
27#include "mysql/psi/psi_cond.h"
29#include "mysql/psi/psi_mutex.h"
31
44
54
60
63
64/**
65 Registers the psi keys for the threads that will be instrumented.
66*/
67
69
70/**
71 Registers the psi keys for the mutexes and conds that will be instrumented.
72*/
73
75
76/**
77 Registers the psi keys for the memory operations that will be instrumented.
78 */
80
81#endif /* GCS_PSI_H */
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_view_change_control_m_current_view_mutex
Definition: gcs_psi.h:39
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_engine_m_wait_for_notification_mutex
Definition: gcs_psi.h:37
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_interface_m_wait_for_ssl_init_mutex
Definition: gcs_psi.h:36
PSI_cond_key key_GCS_COND_Gcs_suspicions_manager_m_suspicions_cond
Definition: gcs_psi.h:53
PSI_mutex_key key_GCS_MUTEX_Gcs_async_buffer_m_free_buffer_mutex
Definition: gcs_psi.cc:53
PSI_cond_key key_GCS_COND_Gcs_xcom_proxy_impl_m_cond_xcom_exit
Definition: gcs_psi.h:52
PSI_cond_key key_GCS_COND_Gcs_xcom_view_change_control_m_wait_for_view_cond
Definition: gcs_psi.h:49
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_view_change_control_m_wait_for_view_mutex
Definition: gcs_psi.h:38
PSI_mutex_key key_GCS_MUTEX_Gcs_suspicions_manager_m_suspicions_parameters_mutex
Definition: gcs_psi.h:34
void register_gcs_mutex_cond_psi_keys()
Registers the psi keys for the mutexes and conds that will be instrumented.
Definition: gcs_psi.cc:161
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_proxy_impl_m_lock_xcom_ready
Definition: gcs_psi.h:41
PSI_thread_key key_GCS_THD_Gcs_ext_logger_impl_m_consumer
Definition: gcs_psi.cc:30
PSI_cond_key key_GCS_COND_Gcs_xcom_interface_m_wait_for_ssl_init_cond
Definition: gcs_psi.h:47
PSI_memory_key key_MEM_Gcs_message_data_m_buffer
Definition: gcs_psi.h:62
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_group_management_m_nodes_mutex
Definition: gcs_psi.h:35
PSI_thread_key key_GCS_THD_Gcs_xcom_engine_m_engine_thread
Definition: gcs_psi.h:56
PSI_cond_key key_GCS_COND_Gcs_xcom_proxy_impl_m_cond_xcom_comms_status
Definition: gcs_psi.h:51
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_proxy_impl_m_lock_xcom_exit
Definition: gcs_psi.h:43
PSI_thread_key key_GCS_THD_Gcs_xcom_network_provider_m_network_provider_tcp_server
Definition: gcs_psi.h:59
PSI_thread_key key_GCS_THD_Gcs_xcom_control_m_xcom_thread
Definition: gcs_psi.h:57
PSI_cond_key key_GCS_COND_Gcs_xcom_proxy_impl_m_cond_xcom_ready
Definition: gcs_psi.h:50
void register_gcs_thread_psi_keys()
Registers the psi keys for the threads that will be instrumented.
Definition: gcs_psi.cc:154
void register_xcom_memory_psi_keys()
Registers the psi keys for the memory operations that will be instrumented.
Definition: gcs_psi.cc:172
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_view_change_control_m_joining_leaving_mutex
Definition: gcs_psi.h:40
PSI_cond_key key_GCS_COND_Gcs_xcom_engine_m_wait_for_notification_cond
Definition: gcs_psi.h:48
PSI_mutex_key key_GCS_MUTEX_Gcs_suspicions_manager_m_suspicions_mutex
Definition: gcs_psi.h:33
PSI_cond_key key_GCS_COND_Gcs_async_buffer_m_wait_for_events_cond
Definition: gcs_psi.cc:66
PSI_cond_key key_GCS_COND_Gcs_async_buffer_m_free_buffer_cond
Definition: gcs_psi.h:46
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_proxy_impl_m_lock_xcom_comms_status
Definition: gcs_psi.h:42
PSI_memory_key key_MEM_XCOM_xcom_cache
Definition: gcs_psi.cc:143
PSI_thread_key key_GCS_THD_Gcs_xcom_control_m_suspicions_processing_thread
Definition: gcs_psi.h:58
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:43
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:48
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:51
unsigned int PSI_thread_key
Instrumented thread key.
Definition: psi_thread_bits.h:49
Common header for many mysys elements.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.