diff options
author | Jan Lindström <jplindst@mariadb.org> | 2014-11-03 15:43:44 +0200 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2014-11-03 15:43:44 +0200 |
commit | 2da6f7cebae5a224f1f982981103a15a2ecda59a (patch) | |
tree | 45aad24ae7ce66a997edf9c40d228ff6c7fb6d04 /storage/xtradb/include/sync0arr.h | |
parent | 50556e7e9ac3cf0bad629cc3eb4b57f82cf807e4 (diff) | |
download | mariadb-git-2da6f7cebae5a224f1f982981103a15a2ecda59a.tar.gz |
MDEV-7017: Add function to print semaphore waits
Add function to print to stderr all current semaphore
waits. This function should be able to executed
inside a gdb/ddd.
Diffstat (limited to 'storage/xtradb/include/sync0arr.h')
-rw-r--r-- | storage/xtradb/include/sync0arr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/xtradb/include/sync0arr.h b/storage/xtradb/include/sync0arr.h index 4bce9435577..5fb0330aa10 100644 --- a/storage/xtradb/include/sync0arr.h +++ b/storage/xtradb/include/sync0arr.h @@ -138,6 +138,12 @@ sync_array_print_info( sync_array_t* arr); /*!< in: wait array */ +/**********************************************************************//** +Prints info of the wait array without using any mutexes/semaphores. */ +UNIV_INTERN +void +sync_array_print_xtradb(void); + #ifndef UNIV_NONINL #include "sync0arr.ic" #endif |