MySQL 8.2.0
Source Code Documentation
pfs_services.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 PFS_SERVICES_H
24#define PFS_SERVICES_H
25
27
28// pfs services
48
49bool pfs_init_services(SERVICE_TYPE(registry_registration) * reg);
50bool pfs_deinit_services(SERVICE_TYPE(registry_registration) * reg);
51
52extern SERVICE_TYPE(psi_cond_v1)
53 SERVICE_IMPLEMENTATION(performance_schema, psi_cond_v1);
54extern SERVICE_TYPE(psi_error_v1)
55 SERVICE_IMPLEMENTATION(performance_schema, psi_error_v1);
56extern SERVICE_TYPE(psi_file_v2)
57 SERVICE_IMPLEMENTATION(performance_schema, psi_file_v2);
58extern SERVICE_TYPE(psi_idle_v1)
59 SERVICE_IMPLEMENTATION(performance_schema, psi_idle_v1);
60extern SERVICE_TYPE(psi_mdl_v1)
61 SERVICE_IMPLEMENTATION(performance_schema, psi_mdl_v1);
62extern SERVICE_TYPE(psi_mdl_v2)
63 SERVICE_IMPLEMENTATION(performance_schema, psi_mdl_v2);
64extern SERVICE_TYPE(psi_memory_v2)
65 SERVICE_IMPLEMENTATION(performance_schema, psi_memory_v2);
66extern SERVICE_TYPE(psi_metric_v1)
67 SERVICE_IMPLEMENTATION(performance_schema, psi_metric_v1);
68extern SERVICE_TYPE(psi_mutex_v1)
69 SERVICE_IMPLEMENTATION(performance_schema, psi_mutex_v1);
70extern SERVICE_TYPE(psi_rwlock_v2)
71 SERVICE_IMPLEMENTATION(performance_schema, psi_rwlock_v2);
72extern SERVICE_TYPE(psi_socket_v1)
73 SERVICE_IMPLEMENTATION(performance_schema, psi_socket_v1);
74extern SERVICE_TYPE(psi_stage_v1)
75 SERVICE_IMPLEMENTATION(performance_schema, psi_stage_v1);
76extern SERVICE_TYPE(psi_statement_v5)
77 SERVICE_IMPLEMENTATION(performance_schema, psi_statement_v5);
78extern SERVICE_TYPE(psi_system_v1)
79 SERVICE_IMPLEMENTATION(performance_schema, psi_system_v1);
80extern SERVICE_TYPE(psi_table_v1)
81 SERVICE_IMPLEMENTATION(performance_schema, psi_table_v1);
82extern SERVICE_TYPE(psi_thread_v4)
83 SERVICE_IMPLEMENTATION(performance_schema, psi_thread_v4);
84extern SERVICE_TYPE(psi_thread_v5)
85 SERVICE_IMPLEMENTATION(performance_schema, psi_thread_v5);
86extern SERVICE_TYPE(psi_thread_v6)
87 SERVICE_IMPLEMENTATION(performance_schema, psi_thread_v6);
88extern SERVICE_TYPE(psi_transaction_v1)
89 SERVICE_IMPLEMENTATION(performance_schema, psi_transaction_v1);
90extern SERVICE_TYPE(psi_tls_channel_v1)
91 SERVICE_IMPLEMENTATION(performance_schema, psi_tls_channel_v1);
92extern SERVICE_TYPE(mysql_server_telemetry_traces_v1)
93 SERVICE_IMPLEMENTATION(performance_schema,
94 mysql_server_telemetry_traces_v1);
95extern SERVICE_TYPE(mysql_server_telemetry_metrics_v1)
96 SERVICE_IMPLEMENTATION(performance_schema,
97 mysql_server_telemetry_metrics_v1);
98
99#endif /* PFS_SERVICES_H */
bool pfs_deinit_services(const mysql_service_registry_registration_t *reg)
Definition: pfs.cc:9978
const mysql_service_psi_cond_v1_t SERVICE_IMPLEMENTATION(performance_schema, psi_cond_v1)
bool pfs_init_services(const mysql_service_registry_registration_t *reg)
Definition: pfs.cc:9955
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:75