summaryrefslogtreecommitdiff
path: root/storage/perfschema/pfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/pfs.h')
-rw-r--r--storage/perfschema/pfs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/storage/perfschema/pfs.h b/storage/perfschema/pfs.h
index 4e11736b1b9..5f543d80375 100644
--- a/storage/perfschema/pfs.h
+++ b/storage/perfschema/pfs.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -27,8 +27,14 @@
#include <my_pthread.h>
#include <mysql/psi/psi.h>
+/**
+ Entry point to the performance schema implementation.
+ This singleton is used to discover the performance schema services.
+*/
extern struct PSI_bootstrap PFS_bootstrap;
+/** Performance schema Thread Local Storage key. */
extern pthread_key(PFS_thread*, THR_PFS);
+/** True when @c THR_PFS is initialized. */
extern bool THR_PFS_initialized;
#endif