MySQL 8.0.39
Source Code Documentation
gcs_psi.h
Go to the documentation of this file.
1/* Copyright (c) 2017, 2024, 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 designed to work 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 either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef GCS_PSI_H
25#define GCS_PSI_H
26
27#include <my_sys.h>
28#include "mysql/psi/psi_cond.h"
30#include "mysql/psi/psi_mutex.h"
32
45
55
61
64
65/**
66 Registers the psi keys for the threads that will be instrumented.
67*/
68
70
71/**
72 Registers the psi keys for the mutexes and conds that will be instrumented.
73*/
74
76
77/**
78 Registers the psi keys for the memory operations that will be instrumented.
79 */
81
82#endif /* GCS_PSI_H */
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_view_change_control_m_current_view_mutex
Definition: gcs_psi.h:40
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_engine_m_wait_for_notification_mutex
Definition: gcs_psi.h:38
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_interface_m_wait_for_ssl_init_mutex
Definition: gcs_psi.h:37
PSI_cond_key key_GCS_COND_Gcs_suspicions_manager_m_suspicions_cond
Definition: gcs_psi.h:54
PSI_mutex_key key_GCS_MUTEX_Gcs_async_buffer_m_free_buffer_mutex
Definition: gcs_psi.cc:54
PSI_cond_key key_GCS_COND_Gcs_xcom_proxy_impl_m_cond_xcom_exit
Definition: gcs_psi.h:53
PSI_cond_key key_GCS_COND_Gcs_xcom_view_change_control_m_wait_for_view_cond
Definition: gcs_psi.h:50
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_view_change_control_m_wait_for_view_mutex
Definition: gcs_psi.h:39
PSI_mutex_key key_GCS_MUTEX_Gcs_suspicions_manager_m_suspicions_parameters_mutex
Definition: gcs_psi.h:35
void register_gcs_mutex_cond_psi_keys()
Registers the psi keys for the mutexes and conds that will be instrumented.
Definition: gcs_psi.cc:162
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_proxy_impl_m_lock_xcom_ready
Definition: gcs_psi.h:42
PSI_thread_key key_GCS_THD_Gcs_ext_logger_impl_m_consumer
Definition: gcs_psi.cc:31
PSI_cond_key key_GCS_COND_Gcs_xcom_interface_m_wait_for_ssl_init_cond
Definition: gcs_psi.h:48
PSI_memory_key key_MEM_Gcs_message_data_m_buffer
Definition: gcs_psi.h:63
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_group_management_m_nodes_mutex
Definition: gcs_psi.h:36
PSI_thread_key key_GCS_THD_Gcs_xcom_engine_m_engine_thread
Definition: gcs_psi.h:57
PSI_cond_key key_GCS_COND_Gcs_xcom_proxy_impl_m_cond_xcom_comms_status
Definition: gcs_psi.h:52
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_proxy_impl_m_lock_xcom_exit
Definition: gcs_psi.h:44
PSI_thread_key key_GCS_THD_Gcs_xcom_network_provider_m_network_provider_tcp_server
Definition: gcs_psi.h:60
PSI_thread_key key_GCS_THD_Gcs_xcom_control_m_xcom_thread
Definition: gcs_psi.h:58
PSI_cond_key key_GCS_COND_Gcs_xcom_proxy_impl_m_cond_xcom_ready
Definition: gcs_psi.h:51
void register_gcs_thread_psi_keys()
Registers the psi keys for the threads that will be instrumented.
Definition: gcs_psi.cc:155
void register_xcom_memory_psi_keys()
Registers the psi keys for the memory operations that will be instrumented.
Definition: gcs_psi.cc:173
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_view_change_control_m_joining_leaving_mutex
Definition: gcs_psi.h:41
PSI_cond_key key_GCS_COND_Gcs_xcom_engine_m_wait_for_notification_cond
Definition: gcs_psi.h:49
PSI_mutex_key key_GCS_MUTEX_Gcs_suspicions_manager_m_suspicions_mutex
Definition: gcs_psi.h:34
PSI_cond_key key_GCS_COND_Gcs_async_buffer_m_wait_for_events_cond
Definition: gcs_psi.cc:67
PSI_cond_key key_GCS_COND_Gcs_async_buffer_m_free_buffer_cond
Definition: gcs_psi.h:47
PSI_mutex_key key_GCS_MUTEX_Gcs_xcom_proxy_impl_m_lock_xcom_comms_status
Definition: gcs_psi.h:43
PSI_memory_key key_MEM_XCOM_xcom_cache
Definition: gcs_psi.cc:144
PSI_thread_key key_GCS_THD_Gcs_xcom_control_m_suspicions_processing_thread
Definition: gcs_psi.h:59
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:44
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
unsigned int PSI_thread_key
Instrumented thread key.
Definition: psi_thread_bits.h:50
Common header for many mysys elements.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.