Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4b1f459a
Commit
4b1f459a
authored
Jul 15, 2010
by
Marc Alff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Copyright headers in storage/perfschema
Fixed minor merge issues with #includes
parent
fd64a0db
Changes
39
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
135 additions
and
144 deletions
+135
-144
storage/perfschema/CMakeLists.txt
storage/perfschema/CMakeLists.txt
+3
-4
storage/perfschema/Makefile.am
storage/perfschema/Makefile.am
+3
-3
storage/perfschema/ha_perfschema.cc
storage/perfschema/ha_perfschema.cc
+8
-7
storage/perfschema/ha_perfschema.h
storage/perfschema/ha_perfschema.h
+3
-3
storage/perfschema/pfs.cc
storage/perfschema/pfs.cc
+3
-3
storage/perfschema/pfs.h
storage/perfschema/pfs.h
+4
-5
storage/perfschema/pfs_atomic.cc
storage/perfschema/pfs_atomic.cc
+3
-3
storage/perfschema/pfs_atomic.h
storage/perfschema/pfs_atomic.h
+3
-3
storage/perfschema/pfs_check.cc
storage/perfschema/pfs_check.cc
+3
-4
storage/perfschema/pfs_column_types.h
storage/perfschema/pfs_column_types.h
+3
-3
storage/perfschema/pfs_column_values.cc
storage/perfschema/pfs_column_values.cc
+3
-4
storage/perfschema/pfs_column_values.h
storage/perfschema/pfs_column_values.h
+3
-3
storage/perfschema/pfs_events_waits.cc
storage/perfschema/pfs_events_waits.cc
+3
-3
storage/perfschema/pfs_events_waits.h
storage/perfschema/pfs_events_waits.h
+3
-3
storage/perfschema/pfs_instr_class.cc
storage/perfschema/pfs_instr_class.cc
+3
-3
storage/perfschema/pfs_instr_class.h
storage/perfschema/pfs_instr_class.h
+3
-4
storage/perfschema/pfs_lock.h
storage/perfschema/pfs_lock.h
+3
-3
storage/perfschema/pfs_server.cc
storage/perfschema/pfs_server.cc
+3
-4
storage/perfschema/pfs_server.h
storage/perfschema/pfs_server.h
+3
-3
storage/perfschema/pfs_stat.h
storage/perfschema/pfs_stat.h
+3
-3
storage/perfschema/pfs_timer.cc
storage/perfschema/pfs_timer.cc
+3
-3
storage/perfschema/pfs_timer.h
storage/perfschema/pfs_timer.h
+3
-3
storage/perfschema/plug.in
storage/perfschema/plug.in
+3
-3
storage/perfschema/table_setup_consumers.cc
storage/perfschema/table_setup_consumers.cc
+5
-4
storage/perfschema/table_setup_consumers.h
storage/perfschema/table_setup_consumers.h
+3
-3
storage/perfschema/table_setup_instruments.cc
storage/perfschema/table_setup_instruments.cc
+5
-5
storage/perfschema/table_setup_instruments.h
storage/perfschema/table_setup_instruments.h
+3
-3
storage/perfschema/table_setup_timers.cc
storage/perfschema/table_setup_timers.cc
+5
-4
storage/perfschema/table_setup_timers.h
storage/perfschema/table_setup_timers.h
+3
-3
storage/perfschema/unittest/CMakeLists.txt
storage/perfschema/unittest/CMakeLists.txt
+3
-3
storage/perfschema/unittest/conf.txt
storage/perfschema/unittest/conf.txt
+3
-3
storage/perfschema/unittest/pfs-t.cc
storage/perfschema/unittest/pfs-t.cc
+4
-5
storage/perfschema/unittest/pfs_instr-oom-t.cc
storage/perfschema/unittest/pfs_instr-oom-t.cc
+4
-5
storage/perfschema/unittest/pfs_instr-t.cc
storage/perfschema/unittest/pfs_instr-t.cc
+4
-5
storage/perfschema/unittest/pfs_instr_class-oom-t.cc
storage/perfschema/unittest/pfs_instr_class-oom-t.cc
+4
-5
storage/perfschema/unittest/pfs_instr_class-t.cc
storage/perfschema/unittest/pfs_instr_class-t.cc
+4
-6
storage/perfschema/unittest/pfs_timer-t.cc
storage/perfschema/unittest/pfs_timer-t.cc
+4
-4
storage/perfschema/unittest/stub_pfs_global.h
storage/perfschema/unittest/stub_pfs_global.h
+3
-3
storage/perfschema/unittest/stub_print_error.h
storage/perfschema/unittest/stub_print_error.h
+3
-3
No files found.
storage/perfschema/CMakeLists.txt
View file @
4b1f459a
# Copyright (
C) 2009 Sun Microsystems, Inc
.
# Copyright (
c) 2009, 2010, 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
...
...
@@ -10,9 +10,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# along with this program; if not, write to the Free Software Foundation,
# 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
${
CMAKE_SOURCE_DIR
}
/include
...
...
storage/perfschema/Makefile.am
View file @
4b1f459a
# Copyright (
C) 2008-2009 Sun Microsystems, Inc
# Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
# along with this program; if not, write to the Free Software
Foundation,
#
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA
#called from the top level Makefile
...
...
storage/perfschema/ha_perfschema.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,18 +10,19 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/ha_perfschema.cc
Performance schema storage engine (implementation).
*/
#include "
sql_priv
.h"
#include "
unireg
.h"
#include "
ha_perfschema
.h"
#include "
my_global
.h"
#include "
my_pthread
.h"
#include "
sql_plugin
.h"
#include "mysql/plugin.h"
#include "ha_perfschema.h"
#include "pfs_engine_table.h"
#include "pfs_column_values.h"
#include "pfs_instr_class.h"
...
...
@@ -145,7 +146,7 @@ mysql_declare_plugin(perfschema)
MYSQL_STORAGE_ENGINE_PLUGIN
,
&
pfs_storage_engine
,
pfs_engine_name
,
"Marc Alff,
Sun Microsystems"
,
"Marc Alff,
Oracle"
,
/* Formerly Sun Microsystems, formerly MySQL */
"Performance Schema"
,
PLUGIN_LICENSE_GPL
,
pfs_init_func
,
/* Plugin Init */
...
...
storage/perfschema/ha_perfschema.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef HA_PERFSCHEMA_H
#define HA_PERFSCHEMA_H
...
...
storage/perfschema/pfs.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs.cc
...
...
storage/perfschema/pfs.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_H
#define PFS_H
...
...
@@ -23,9 +23,8 @@
#define HAVE_PSI_1
#include <sql_priv.h>
#include <my_global.h>
#include <
unireg
.h>
#include <
my_pthread
.h>
#include <mysql/psi/psi.h>
extern
struct
PSI_bootstrap
PFS_bootstrap
;
...
...
storage/perfschema/pfs_atomic.cc
View file @
4b1f459a
/* Copyright (
C) 2009 Sun Microsystems, Inc
/* Copyright (
c) 2009, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_atomic.cc
...
...
storage/perfschema/pfs_atomic.h
View file @
4b1f459a
/* Copyright (
C) 2009 Sun Microsystems, Inc
/* Copyright (
c) 2009, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_ATOMIC_H
#define PFS_ATOMIC_H
...
...
storage/perfschema/pfs_check.cc
View file @
4b1f459a
/* Copyright (
C) 2009 Sun Microsystems, Inc
/* Copyright (
c) 2009, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_check.cc
...
...
@@ -23,7 +23,6 @@
*/
#include "my_global.h"
#include "sql_priv.h"
#include "pfs_server.h"
#include "pfs_engine_table.h"
...
...
storage/perfschema/pfs_column_types.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_COLUMN_TYPES_H
#define PFS_COLUMN_TYPES_H
...
...
storage/perfschema/pfs_column_values.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_column_values.cc
...
...
@@ -19,7 +19,6 @@
schema tables (implementation).
*/
#include "sql_priv.h"
#include "pfs_column_values.h"
LEX_STRING
PERFORMANCE_SCHEMA_str
=
...
...
storage/perfschema/pfs_column_values.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_COLUMN_VALUES_H
#define PFS_COLUMN_VALUES_H
...
...
storage/perfschema/pfs_events_waits.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_events_waits.cc
...
...
storage/perfschema/pfs_events_waits.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_EVENTS_WAITS_H
#define PFS_EVENTS_WAITS_H
...
...
storage/perfschema/pfs_instr_class.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_instr_class.cc
...
...
storage/perfschema/pfs_instr_class.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_INSTR_CLASS_H
#define PFS_INSTR_CLASS_H
...
...
@@ -38,7 +38,6 @@
*/
#define PFS_MAX_FULL_PREFIX_NAME_LENGTH 32
#include <sql_priv.h>
#include <my_global.h>
#include <mysql/psi/psi.h>
#include "pfs_lock.h"
...
...
storage/perfschema/pfs_lock.h
View file @
4b1f459a
/* Copyright (
C) 2009 Sun Microsystems, Inc
/* Copyright (
c) 2009, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_LOCK_H
#define PFS_LOCK_H
...
...
storage/perfschema/pfs_server.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_server.cc
...
...
@@ -21,7 +21,6 @@
#include "my_global.h"
#include "my_sys.h"
#include "mysys_err.h"
#include "sql_priv.h"
#include "pfs_server.h"
#include "pfs.h"
#include "pfs_global.h"
...
...
storage/perfschema/pfs_server.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_SERVER_H
#define PFS_SERVER_H
...
...
storage/perfschema/pfs_stat.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_STAT_H
#define PFS_STAT_H
...
...
storage/perfschema/pfs_timer.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/pfs_timer.cc
...
...
storage/perfschema/pfs_timer.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef PFS_TIMER_H
#define PFS_TIMER_H
...
...
storage/perfschema/plug.in
View file @
4b1f459a
dnl -
*
- ksh -
*
-
# Copyright (
C) 2008-2009 Sun Microsystems, Inc
# Copyright (
c) 2008, 2010, 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
...
...
@@ -12,8 +12,8 @@ dnl -*- ksh -*-
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
# along with this program; if not, write to the Free Software
Foundation,
#
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA
dnl This file is part of the configure scripts used by autoconf.
...
...
storage/perfschema/table_setup_consumers.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,15 +10,16 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/table_setup_consumers.cc
Table SETUP_CONSUMERS (implementation).
*/
#include "sql_priv.h"
#include "my_global.h"
#include "my_pthread.h"
#include "table_setup_consumers.h"
#include "pfs_instr.h"
#include "pfs_events_waits.h"
...
...
storage/perfschema/table_setup_consumers.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef TABLE_SETUP_CONSUMERS_H
#define TABLE_SETUP_CONSUMERS_H
...
...
storage/perfschema/table_setup_instruments.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,16 +10,16 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/table_setup_instruments.cc
Table SETUP_INSTRUMENTS (implementation).
*/
#include "
sql_priv
.h"
#include "
unireg
.h"
#include "
my_global
.h"
#include "
my_pthread
.h"
#include "pfs_instr_class.h"
#include "pfs_column_types.h"
#include "pfs_column_values.h"
...
...
storage/perfschema/table_setup_instruments.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef TABLE_SETUP_INSTRUMENTS_H
#define TABLE_SETUP_INSTRUMENTS_H
...
...
storage/perfschema/table_setup_timers.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,15 +10,16 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
/**
@file storage/perfschema/table_setup_timers.cc
Table SETUP_TIMERS (implementation).
*/
#include "sql_priv.h"
#include "my_global.h"
#include "my_pthread.h"
#include "table_setup_timers.h"
#include "pfs_column_values.h"
#include "pfs_timer.h"
...
...
storage/perfschema/table_setup_timers.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#ifndef TABLE_SETUP_TIMERS_H
#define TABLE_SETUP_TIMERS_H
...
...
storage/perfschema/unittest/CMakeLists.txt
View file @
4b1f459a
# Copyright (
C) 2009 Sun Microsystems, Inc
# Copyright (
c) 2009, 2010, 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
...
...
@@ -10,8 +10,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
# along with this program; if not, write to the Free Software
Foundation,
#
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/include/mysql
...
...
storage/perfschema/unittest/conf.txt
View file @
4b1f459a
# Copyright (
C) 2009 Sun Microsystems, Inc
# Copyright (
c) 2009, 2010, 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
...
...
@@ -10,8 +10,8 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
# along with this program; if not, write to the Free Software
Foundation,
#
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA
Performance schema test configurations.
(Used internally for performance testing)
...
...
storage/perfschema/unittest/pfs-t.cc
View file @
4b1f459a
/* Copyright (
C) 2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,12 +10,11 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_pthread.h>
#include <sql_priv.h>
#include <my_global.h>
#include <my_pthread.h>
#include <pfs_server.h>
#include <pfs_instr_class.h>
#include <pfs_instr.h>
...
...
storage/perfschema/unittest/pfs_instr-oom-t.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,12 +10,11 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_pthread.h>
#include <sql_priv.h>
#include <my_global.h>
#include <my_pthread.h>
#include <pfs_instr.h>
#include <pfs_stat.h>
#include <pfs_global.h>
...
...
storage/perfschema/unittest/pfs_instr-t.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,12 +10,11 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_pthread.h>
#include <sql_priv.h>
#include <my_global.h>
#include <my_pthread.h>
#include <pfs_instr.h>
#include <pfs_stat.h>
#include <pfs_global.h>
...
...
storage/perfschema/unittest/pfs_instr_class-oom-t.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,12 +10,11 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_pthread.h>
#include <sql_priv.h>
#include <my_global.h>
#include <my_pthread.h>
#include <pfs_instr_class.h>
#include <pfs_global.h>
#include <tap.h>
...
...
storage/perfschema/unittest/pfs_instr_class-t.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,13 +10,11 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_pthread.h>
#include <my_global.h>
#include <sql_priv.h>
#include <my_pthread.h>
#include <string.h> // strncpy
#include <pfs_instr_class.h>
#include <pfs_instr.h>
...
...
storage/perfschema/unittest/pfs_timer-t.cc
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,11 +10,11 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <sql_priv.h>
#include <my_global.h>
#include <my_pthread.h>
#include <pfs_timer.h>
#include "my_sys.h"
#include <tap.h>
...
...
storage/perfschema/unittest/stub_pfs_global.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_global.h>
#include <my_sys.h>
...
...
storage/perfschema/unittest/stub_print_error.h
View file @
4b1f459a
/* Copyright (
C) 2008-2009 Sun Microsystems, Inc
/* Copyright (
c) 2008, 2010, 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
...
...
@@ -10,8 +10,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
along with this program; if not, write to the Free Software
Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335
USA */
#include <my_global.h>
#include <my_sys.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment