mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mysql-5.7.39
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2008, 2021, Oracle and/or its affiliates.
|
||||
/* Copyright (c) 2008, 2022, Oracle and/or its affiliates.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License, version 2.0,
|
||||
@@ -1678,6 +1678,15 @@ typedef void (*set_thread_info_v1_t)(const char* info, uint info_len);
|
||||
*/
|
||||
typedef void (*set_thread_v1_t)(struct PSI_thread *thread);
|
||||
|
||||
/**
|
||||
Assign the remote (peer) port to the instrumented thread.
|
||||
|
||||
@param thread pointer to the thread instrumentation
|
||||
@param port the remote port
|
||||
*/
|
||||
typedef void (*set_thread_peer_port_v1_t)(PSI_thread *thread,
|
||||
unsigned int port);
|
||||
|
||||
/** Delete the current thread instrumentation. */
|
||||
typedef void (*delete_current_thread_v1_t)(void);
|
||||
|
||||
@@ -2724,6 +2733,8 @@ struct PSI_v1
|
||||
|
||||
start_metadata_wait_v1_t start_metadata_wait;
|
||||
end_metadata_wait_v1_t end_metadata_wait;
|
||||
|
||||
set_thread_peer_port_v1_t set_thread_peer_port;
|
||||
};
|
||||
|
||||
/** @} (end of group Group_PSI_v1) */
|
||||
|
Reference in New Issue
Block a user