Drizzled Public API Documentation

probes.h
00001 /* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00002  *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
00003  *
00004  *  Copyright (C) 2009 Sun Microsystems, Inc.
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program; if not, write to the Free Software
00018  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00019  */
00020 
00021 #pragma once
00022 
00023 #ifdef HAVE_DTRACE
00024 #include <drizzled/generated_probes.h>
00025 #else
00026 #define DRIZZLE_COMMAND_DONE(arg0)
00027 #define DRIZZLE_COMMAND_DONE_ENABLED() (0)
00028 #define DRIZZLE_COMMAND_START(arg0, arg1)
00029 #define DRIZZLE_COMMAND_START_ENABLED() (0)
00030 #define DRIZZLE_CONNECTION_DONE(arg0)
00031 #define DRIZZLE_CONNECTION_DONE_ENABLED() (0)
00032 #define DRIZZLE_CONNECTION_START(arg0)
00033 #define DRIZZLE_CONNECTION_START_ENABLED() (0)
00034 #define DRIZZLE_DELETE_DONE(arg0, arg1)
00035 #define DRIZZLE_DELETE_DONE_ENABLED() (0)
00036 #define DRIZZLE_DELETE_ROW_DONE(arg0)
00037 #define DRIZZLE_DELETE_ROW_DONE_ENABLED() (0)
00038 #define DRIZZLE_DELETE_ROW_START(arg0, arg1)
00039 #define DRIZZLE_DELETE_ROW_START_ENABLED() (0)
00040 #define DRIZZLE_DELETE_START(arg0)
00041 #define DRIZZLE_DELETE_START_ENABLED() (0)
00042 #define DRIZZLE_FILESORT_DONE(arg0, arg1)
00043 #define DRIZZLE_FILESORT_DONE_ENABLED() (0)
00044 #define DRIZZLE_FILESORT_START(arg0, arg1)
00045 #define DRIZZLE_FILESORT_START_ENABLED() (0)
00046 #define DRIZZLE_CURSOR_RDLOCK_DONE(arg0)
00047 #define DRIZZLE_CURSOR_RDLOCK_DONE_ENABLED() (0)
00048 #define DRIZZLE_CURSOR_RDLOCK_START(arg0, arg1)
00049 #define DRIZZLE_CURSOR_RDLOCK_START_ENABLED() (0)
00050 #define DRIZZLE_CURSOR_UNLOCK_DONE(arg0)
00051 #define DRIZZLE_CURSOR_UNLOCK_DONE_ENABLED() (0)
00052 #define DRIZZLE_CURSOR_UNLOCK_START(arg0, arg1)
00053 #define DRIZZLE_CURSOR_UNLOCK_START_ENABLED() (0)
00054 #define DRIZZLE_CURSOR_WRLOCK_DONE(arg0)
00055 #define DRIZZLE_CURSOR_WRLOCK_DONE_ENABLED() (0)
00056 #define DRIZZLE_CURSOR_WRLOCK_START(arg0, arg1)
00057 #define DRIZZLE_CURSOR_WRLOCK_START_ENABLED() (0)
00058 #define DRIZZLE_INSERT_DONE(arg0, arg1)
00059 #define DRIZZLE_INSERT_DONE_ENABLED() (0)
00060 #define DRIZZLE_INSERT_ROW_DONE(arg0)
00061 #define DRIZZLE_INSERT_ROW_DONE_ENABLED() (0)
00062 #define DRIZZLE_INSERT_ROW_START(arg0, arg1)
00063 #define DRIZZLE_INSERT_ROW_START_ENABLED() (0)
00064 #define DRIZZLE_INSERT_SELECT_DONE(arg0, arg1)
00065 #define DRIZZLE_INSERT_SELECT_DONE_ENABLED() (0)
00066 #define DRIZZLE_INSERT_SELECT_START(arg0)
00067 #define DRIZZLE_INSERT_SELECT_START_ENABLED() (0)
00068 #define DRIZZLE_INSERT_START(arg0)
00069 #define DRIZZLE_INSERT_START_ENABLED() (0)
00070 #define DRIZZLE_QUERY_DONE(arg0)
00071 #define DRIZZLE_QUERY_DONE_ENABLED() (0)
00072 #define DRIZZLE_QUERY_EXEC_DONE(arg0)
00073 #define DRIZZLE_QUERY_EXEC_DONE_ENABLED() (0)
00074 #define DRIZZLE_QUERY_EXEC_START(arg0, arg1, arg2)
00075 #define DRIZZLE_QUERY_EXEC_START_ENABLED() (0)
00076 #define DRIZZLE_QUERY_OPT_START(arg0, arg1)
00077 #define DRIZZLE_QUERY_OPT_START_ENABLED() (0)
00078 #define DRIZZLE_QUERY_OPT_DONE(arg0)
00079 #define DRIZZLE_QUERY_OPT_DONE_ENABLED() (0)
00080 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START(arg0, arg1)
00081 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START_ENABLED() (0)
00082 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE(arg0)
00083 #define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE_ENABLED() (0)
00084 #define DRIZZLE_QUERY_PARSE_DONE(arg0)
00085 #define DRIZZLE_QUERY_PARSE_DONE_ENABLED() (0)
00086 #define DRIZZLE_QUERY_PARSE_START(arg0)
00087 #define DRIZZLE_QUERY_PARSE_START_ENABLED() (0)
00088 #define DRIZZLE_QUERY_START(arg0, arg1, arg2)
00089 #define DRIZZLE_QUERY_START_ENABLED() (0)
00090 #define DRIZZLE_SELECT_DONE(arg0, arg1)
00091 #define DRIZZLE_SELECT_DONE_ENABLED() (0)
00092 #define DRIZZLE_SELECT_START(arg0)
00093 #define DRIZZLE_SELECT_START_ENABLED() (0)
00094 #define DRIZZLE_UPDATE_DONE(arg0, arg1, arg2)
00095 #define DRIZZLE_UPDATE_DONE_ENABLED() (0)
00096 #define DRIZZLE_UPDATE_ROW_DONE(arg0)
00097 #define DRIZZLE_UPDATE_ROW_DONE_ENABLED() (0)
00098 #define DRIZZLE_UPDATE_ROW_START(arg0, arg1)
00099 #define DRIZZLE_UPDATE_ROW_START_ENABLED() (0)
00100 #define DRIZZLE_UPDATE_START(arg0)
00101 #define DRIZZLE_UPDATE_START_ENABLED() (0)
00102 #endif
00103