![]() |
MySQL 8.0.43
Source Code Documentation
|
Performance schema instrumentation (declarations). More...
#include "my_config.h"#include "my_psi_config.h"#include <stddef.h>#include <sys/socket.h>#include <sys/types.h>#include "my_io.h"#include "my_macros.h"#include "mysql/psi/psi_socket.h"Go to the source code of this file.
Macros | |
| #define | PSI_SOCKET_CALL(M) pfs_##M##_v1 |
Functions | |
| void | pfs_register_socket_v1 (const char *category, PSI_socket_info_v1 *info, int count) |
| PSI_socket * | pfs_init_socket_v1 (PSI_socket_key key, const my_socket *fd, const struct sockaddr *addr, socklen_t addr_len) |
| void | pfs_destroy_socket_v1 (PSI_socket *socket) |
| PSI_socket_locker * | pfs_start_socket_wait_v1 (PSI_socket_locker_state *state, PSI_socket *socket, PSI_socket_operation op, size_t count, const char *src_file, uint src_line) |
| Socket locker. More... | |
| void | pfs_end_socket_wait_v1 (PSI_socket_locker *locker, size_t byte_count) |
| Implementation of the socket instrumentation interface. More... | |
| void | pfs_set_socket_state_v1 (PSI_socket *socket, PSI_socket_state state) |
| void | pfs_set_socket_info_v1 (PSI_socket *socket, const my_socket *fd, const struct sockaddr *addr, socklen_t addr_len) |
| Set socket descriptor and address info. More... | |
| void | pfs_set_socket_thread_owner_v1 (PSI_socket *socket) |
| Implementation of the socket instrumentation interface. More... | |
Performance schema instrumentation (declarations).
| void pfs_destroy_socket_v1 | ( | PSI_socket * | socket | ) |
| void pfs_end_socket_wait_v1 | ( | PSI_socket_locker * | locker, |
| size_t | byte_count | ||
| ) |
Implementation of the socket instrumentation interface.
| PSI_socket * pfs_init_socket_v1 | ( | PSI_socket_key | key, |
| const my_socket * | fd, | ||
| const struct sockaddr * | addr, | ||
| socklen_t | addr_len | ||
| ) |
| void pfs_register_socket_v1 | ( | const char * | category, |
| PSI_socket_info_v1 * | info, | ||
| int | count | ||
| ) |
| void pfs_set_socket_info_v1 | ( | PSI_socket * | socket, |
| const my_socket * | fd, | ||
| const struct sockaddr * | addr, | ||
| socklen_t | addr_len | ||
| ) |
Set socket descriptor and address info.
| void pfs_set_socket_state_v1 | ( | PSI_socket * | socket, |
| PSI_socket_state | state | ||
| ) |
| void pfs_set_socket_thread_owner_v1 | ( | PSI_socket * | socket | ) |
Implementation of the socket instrumentation interface.
| PSI_socket_locker * pfs_start_socket_wait_v1 | ( | PSI_socket_locker_state * | state, |
| PSI_socket * | socket, | ||
| PSI_socket_operation | op, | ||
| size_t | count, | ||
| const char * | src_file, | ||
| uint | src_line | ||
| ) |
Socket locker.