MySQL 9.7.0
Source Code Documentation
tm_psi.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2022, 2026, Oracle and/or its affiliates.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License, version 2.0,
6 as published by the Free Software Foundation.
7
8 This program is designed to work with certain software (including
9 but not limited to OpenSSL) that is licensed under separate terms,
10 as designated in a particular file or component or in included license
11 documentation. The authors of MySQL hereby grant you an additional
12 permission to link the program and your derivative works with the
13 separately licensed software that they have either included with
14 the program or referenced in the documentation.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License, version 2.0, for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24*/
25
26#ifndef TELEMETRY_PSI_H_INCLUDED
27#define TELEMETRY_PSI_H_INCLUDED
28
33
34namespace telemetry {
35
42
49
51void init_mutexes();
52void cleanup_mutexes();
53
54} // namespace telemetry
55
56#endif /* TELEMETRY_PSI_H_INCLUDED */
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:44
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
Definition: option_usage.cc:40
void cleanup_mutexes()
Definition: tm_psi.cc:110
PSI_thread_key g_otel_blrp_thread_key
Definition: tm_psi.cc:63
PSI_mutex_key g_notify_mutex_key
Definition: tm_psi.cc:34
PSI_mutex_key g_option_usage_mutex_key
Definition: tm_psi.cc:37
PSI_thread_key g_otel_bsp_thread_key
Definition: tm_psi.cc:61
PSI_thread_key g_otel_otlp_metrics_exporter_thread_key
Definition: tm_psi.cc:65
PSI_thread_key g_otel_otlp_logs_exporter_thread_key
Definition: tm_psi.cc:66
PSI_stage_info g_session_stage
Definition: tm_psi.cc:56
void init_mutexes()
Definition: tm_psi.cc:100
PSI_mutex_key g_meter_mutex_key
Definition: tm_psi.cc:36
PSI_thread_key g_otel_metric_periodic_reader_thread_key
Definition: tm_psi.cc:62
PSI_mutex_key g_metric_mutex_key
Definition: tm_psi.cc:35
void register_performance_schema()
Definition: tm_psi.cc:88
PSI_thread_key g_otel_otlp_traces_exporter_thread_key
Definition: tm_psi.cc:64
PSI_cond_key g_notify_cond_key
Definition: tm_psi.cc:49
Stage instrument information.
Definition: psi_stage_bits.h:74