summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-11-24 15:04:25 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-11-24 15:04:25 +0200
commit604e844944c039a913aa41cc3a1db80c3db2c6be (patch)
tree5f2a74d3c95f592554571b4ab3a5ab3abe54e7b7
parent36fcca635efc6c379f090de2484d63fb9ad7b331 (diff)
downloadmariadb-git-604e844944c039a913aa41cc3a1db80c3db2c6be.tar.gz
MDEV-21452 fixup: Remove PFS_NOT_INSTRUMENTED
-rw-r--r--storage/innobase/include/univ.i9
1 files changed, 0 insertions, 9 deletions
diff --git a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i
index 1dffd25b27f..c5f62f6cf57 100644
--- a/storage/innobase/include/univ.i
+++ b/storage/innobase/include/univ.i
@@ -101,15 +101,6 @@ HAVE_PSI_INTERFACE is defined. */
# define UNIV_PFS_MEMORY
# endif /* HAVE_PSI_MEMORY_INTERFACE */
-/* There are mutexes/rwlocks that we want to exclude from
-instrumentation even if their corresponding performance schema
-define is set. And this PFS_NOT_INSTRUMENTED is used
-as the key value to identify those objects that would
-be excluded from instrumentation. */
-# define PFS_NOT_INSTRUMENTED ULINT32_UNDEFINED
-
-# define PFS_IS_INSTRUMENTED(key) ((key) != PFS_NOT_INSTRUMENTED)
-
#ifdef HAVE_PFS_THREAD_PROVIDER_H
/* For PSI_MUTEX_CALL() and similar. */
#include "pfs_thread_provider.h"