MySQL 8.0.30
Source Code Documentation
pfs_services.h
Go to the documentation of this file.
1/* Copyright (c) 2017, 2022, 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
45
46bool pfs_init_services(SERVICE_TYPE(registry_registration) * reg);
47bool pfs_deinit_services(SERVICE_TYPE(registry_registration) * reg);
48
49extern SERVICE_TYPE(psi_cond_v1)
50 SERVICE_IMPLEMENTATION(performance_schema, psi_cond_v1);
51extern SERVICE_TYPE(psi_error_v1)
52 SERVICE_IMPLEMENTATION(performance_schema, psi_error_v1);
53extern SERVICE_TYPE(psi_file_v2)
54 SERVICE_IMPLEMENTATION(performance_schema, psi_file_v2);
55extern SERVICE_TYPE(psi_idle_v1)
56 SERVICE_IMPLEMENTATION(performance_schema, psi_idle_v1);
57extern SERVICE_TYPE(psi_mdl_v1)
58 SERVICE_IMPLEMENTATION(performance_schema, psi_mdl_v1);
59extern SERVICE_TYPE(psi_mdl_v2)
60 SERVICE_IMPLEMENTATION(performance_schema, psi_mdl_v2);
61extern SERVICE_TYPE(psi_memory_v2)
62 SERVICE_IMPLEMENTATION(performance_schema, psi_memory_v2);
63extern SERVICE_TYPE(psi_mutex_v1)
64 SERVICE_IMPLEMENTATION(performance_schema, psi_mutex_v1);
65extern SERVICE_TYPE(psi_rwlock_v2)
66 SERVICE_IMPLEMENTATION(performance_schema, psi_rwlock_v2);
67extern SERVICE_TYPE(psi_socket_v1)
68 SERVICE_IMPLEMENTATION(performance_schema, psi_socket_v1);
69extern SERVICE_TYPE(psi_stage_v1)
70 SERVICE_IMPLEMENTATION(performance_schema, psi_stage_v1);
71/* Deprecated, use psi_statement_v2. */
72extern SERVICE_TYPE(psi_statement_v1)
73 SERVICE_IMPLEMENTATION(performance_schema, psi_statement_v1);
74/* Deprecated, use psi_statement_v3. */
75extern SERVICE_TYPE(psi_statement_v2)
76 SERVICE_IMPLEMENTATION(performance_schema, psi_statement_v2);
77extern SERVICE_TYPE(psi_statement_v3)
78 SERVICE_IMPLEMENTATION(performance_schema, psi_statement_v3);
79extern SERVICE_TYPE(psi_system_v1)
80 SERVICE_IMPLEMENTATION(performance_schema, psi_system_v1);
81extern SERVICE_TYPE(psi_table_v1)
82 SERVICE_IMPLEMENTATION(performance_schema, psi_table_v1);
83extern SERVICE_TYPE(psi_thread_v4)
84 SERVICE_IMPLEMENTATION(performance_schema, psi_thread_v4);
85extern SERVICE_TYPE(psi_thread_v5)
86 SERVICE_IMPLEMENTATION(performance_schema, psi_thread_v5);
87extern SERVICE_TYPE(psi_thread_v6)
88 SERVICE_IMPLEMENTATION(performance_schema, psi_thread_v6);
89extern SERVICE_TYPE(psi_transaction_v1)
90 SERVICE_IMPLEMENTATION(performance_schema, psi_transaction_v1);
91extern SERVICE_TYPE(psi_tls_channel_v1)
92 SERVICE_IMPLEMENTATION(performance_schema, psi_tls_channel_v1);
93
94#endif /* PFS_SERVICES_H */
bool pfs_deinit_services(const mysql_service_registry_registration_t *reg)
Definition: pfs.cc:9207
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:9183
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:75