~drizzle-pbxt/drizzle/drizzle-pbxt-2

« back to all changes in this revision

Viewing changes to drizzled/probes.h

  • Committer: Paul McCullagh
  • Date: 2009-11-10 14:18:39 UTC
  • mfrom: (1038.1.7 drizzle-pbxt-pre-merge)
  • Revision ID: paul.mccullagh@primebase.org-20091110141839-2j3k43b17ag6f605
Merged Drizzle trunk and PBXT 1.0.09

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 *
 
4
 *  Copyright (C) 2009 Sun Microsystems
 
5
 *
 
6
 *  This program is free software; you can redistribute it and/or modify
 
7
 *  it under the terms of the GNU General Public License as published by
 
8
 *  the Free Software Foundation; either version 2 of the License, or
 
9
 *  (at your option) any later version.
 
10
 *
 
11
 *  This program is distributed in the hope that it will be useful,
 
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 *  GNU General Public License for more details.
 
15
 *
 
16
 *  You should have received a copy of the GNU General Public License
 
17
 *  along with this program; if not, write to the Free Software
 
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 */
 
20
 
 
21
#ifndef DRIZZLED_PROBES_H
 
22
#define DRIZZLED_PROBES_H
 
23
 
 
24
#ifdef HAVE_DTRACE
 
25
#include "drizzled/generated_probes.h"
 
26
#else
 
27
#define DRIZZLE_COMMAND_DONE(arg0)
 
28
#define DRIZZLE_COMMAND_DONE_ENABLED() (0)
 
29
#define DRIZZLE_COMMAND_START(arg0, arg1)
 
30
#define DRIZZLE_COMMAND_START_ENABLED() (0)
 
31
#define DRIZZLE_CONNECTION_DONE(arg0)
 
32
#define DRIZZLE_CONNECTION_DONE_ENABLED() (0)
 
33
#define DRIZZLE_CONNECTION_START(arg0)
 
34
#define DRIZZLE_CONNECTION_START_ENABLED() (0)
 
35
#define DRIZZLE_DELETE_DONE(arg0, arg1)
 
36
#define DRIZZLE_DELETE_DONE_ENABLED() (0)
 
37
#define DRIZZLE_DELETE_ROW_DONE(arg0)
 
38
#define DRIZZLE_DELETE_ROW_DONE_ENABLED() (0)
 
39
#define DRIZZLE_DELETE_ROW_START(arg0, arg1)
 
40
#define DRIZZLE_DELETE_ROW_START_ENABLED() (0)
 
41
#define DRIZZLE_DELETE_START(arg0)
 
42
#define DRIZZLE_DELETE_START_ENABLED() (0)
 
43
#define DRIZZLE_FILESORT_DONE(arg0, arg1)
 
44
#define DRIZZLE_FILESORT_DONE_ENABLED() (0)
 
45
#define DRIZZLE_FILESORT_START(arg0, arg1)
 
46
#define DRIZZLE_FILESORT_START_ENABLED() (0)
 
47
#define DRIZZLE_HANDLER_RDLOCK_DONE(arg0)
 
48
#define DRIZZLE_HANDLER_RDLOCK_DONE_ENABLED() (0)
 
49
#define DRIZZLE_HANDLER_RDLOCK_START(arg0, arg1)
 
50
#define DRIZZLE_HANDLER_RDLOCK_START_ENABLED() (0)
 
51
#define DRIZZLE_HANDLER_UNLOCK_DONE(arg0)
 
52
#define DRIZZLE_HANDLER_UNLOCK_DONE_ENABLED() (0)
 
53
#define DRIZZLE_HANDLER_UNLOCK_START(arg0, arg1)
 
54
#define DRIZZLE_HANDLER_UNLOCK_START_ENABLED() (0)
 
55
#define DRIZZLE_HANDLER_WRLOCK_DONE(arg0)
 
56
#define DRIZZLE_HANDLER_WRLOCK_DONE_ENABLED() (0)
 
57
#define DRIZZLE_HANDLER_WRLOCK_START(arg0, arg1)
 
58
#define DRIZZLE_HANDLER_WRLOCK_START_ENABLED() (0)
 
59
#define DRIZZLE_INSERT_DONE(arg0, arg1)
 
60
#define DRIZZLE_INSERT_DONE_ENABLED() (0)
 
61
#define DRIZZLE_INSERT_ROW_DONE(arg0)
 
62
#define DRIZZLE_INSERT_ROW_DONE_ENABLED() (0)
 
63
#define DRIZZLE_INSERT_ROW_START(arg0, arg1)
 
64
#define DRIZZLE_INSERT_ROW_START_ENABLED() (0)
 
65
#define DRIZZLE_INSERT_SELECT_DONE(arg0, arg1)
 
66
#define DRIZZLE_INSERT_SELECT_DONE_ENABLED() (0)
 
67
#define DRIZZLE_INSERT_SELECT_START(arg0)
 
68
#define DRIZZLE_INSERT_SELECT_START_ENABLED() (0)
 
69
#define DRIZZLE_INSERT_START(arg0)
 
70
#define DRIZZLE_INSERT_START_ENABLED() (0)
 
71
#define DRIZZLE_QUERY_DONE(arg0)
 
72
#define DRIZZLE_QUERY_DONE_ENABLED() (0)
 
73
#define DRIZZLE_QUERY_EXEC_DONE(arg0)
 
74
#define DRIZZLE_QUERY_EXEC_DONE_ENABLED() (0)
 
75
#define DRIZZLE_QUERY_EXEC_START(arg0, arg1, arg2)
 
76
#define DRIZZLE_QUERY_EXEC_START_ENABLED() (0)
 
77
#define DRIZZLE_QUERY_PARSE_DONE(arg0)
 
78
#define DRIZZLE_QUERY_PARSE_DONE_ENABLED() (0)
 
79
#define DRIZZLE_QUERY_PARSE_START(arg0)
 
80
#define DRIZZLE_QUERY_PARSE_START_ENABLED() (0)
 
81
#define DRIZZLE_QUERY_START(arg0, arg1, arg2)
 
82
#define DRIZZLE_QUERY_START_ENABLED() (0)
 
83
#define DRIZZLE_SELECT_DONE(arg0, arg1)
 
84
#define DRIZZLE_SELECT_DONE_ENABLED() (0)
 
85
#define DRIZZLE_SELECT_START(arg0)
 
86
#define DRIZZLE_SELECT_START_ENABLED() (0)
 
87
#define DRIZZLE_UPDATE_DONE(arg0, arg1, arg2)
 
88
#define DRIZZLE_UPDATE_DONE_ENABLED() (0)
 
89
#define DRIZZLE_UPDATE_ROW_DONE(arg0)
 
90
#define DRIZZLE_UPDATE_ROW_DONE_ENABLED() (0)
 
91
#define DRIZZLE_UPDATE_ROW_START(arg0, arg1)
 
92
#define DRIZZLE_UPDATE_ROW_START_ENABLED() (0)
 
93
#define DRIZZLE_UPDATE_START(arg0)
 
94
#define DRIZZLE_UPDATE_START_ENABLED() (0)
 
95
#endif
 
96
 
 
97
#endif /* DRIZZLED_PROBES_H */