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