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.
This commit is contained in:
Jan Lindström 2014-11-03 15:43:44 +02:00
commit 2da6f7ceba
8 changed files with 169 additions and 2 deletions

View file

@ -777,6 +777,11 @@ extern ut_list_base_node_t mutex_list;
/** Mutex protecting the mutex_list variable */
extern mutex_t mutex_list_mutex;
/*******************************************************************//**
Get sync array */
UNIV_INTERN
sync_array_t*
sync_array_get(void);
#ifndef UNIV_NONINL
#include "sync0sync.ic"