1126.10.23
by Padraig O'Sullivan
Added a new header file to be included by files which want to insert dtrace |
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 |
||
1662.2.1
by Monty Taylor
Backed out two bits that snuck in to the merge. |
24 |
#ifdef HAVE_DTRACE
|
1126.10.23
by Padraig O'Sullivan
Added a new header file to be included by files which want to insert 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)
|
|
1241.7.7
by Padraig O'Sullivan
Corrected the declaration for the cursor related probes when dtrace is not enabled. |
47 |
#define DRIZZLE_CURSOR_RDLOCK_DONE(arg0)
|
48 |
#define DRIZZLE_CURSOR_RDLOCK_DONE_ENABLED() (0)
|
|
49 |
#define DRIZZLE_CURSOR_RDLOCK_START(arg0, arg1)
|
|
50 |
#define DRIZZLE_CURSOR_RDLOCK_START_ENABLED() (0)
|
|
51 |
#define DRIZZLE_CURSOR_UNLOCK_DONE(arg0)
|
|
52 |
#define DRIZZLE_CURSOR_UNLOCK_DONE_ENABLED() (0)
|
|
53 |
#define DRIZZLE_CURSOR_UNLOCK_START(arg0, arg1)
|
|
54 |
#define DRIZZLE_CURSOR_UNLOCK_START_ENABLED() (0)
|
|
55 |
#define DRIZZLE_CURSOR_WRLOCK_DONE(arg0)
|
|
56 |
#define DRIZZLE_CURSOR_WRLOCK_DONE_ENABLED() (0)
|
|
57 |
#define DRIZZLE_CURSOR_WRLOCK_START(arg0, arg1)
|
|
58 |
#define DRIZZLE_CURSOR_WRLOCK_START_ENABLED() (0)
|
|
1126.10.23
by Padraig O'Sullivan
Added a new header file to be included by files which want to insert dtrace |
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)
|
|
1241.7.6
by Padraig O'Sullivan
Added some dtrace probes for tracing the optimizer. |
77 |
#define DRIZZLE_QUERY_OPT_START(arg0, arg1)
|
78 |
#define DRIZZLE_QUERY_OPT_START_ENABLED() (0)
|
|
79 |
#define DRIZZLE_QUERY_OPT_DONE(arg0)
|
|
80 |
#define DRIZZLE_QUERY_OPT_DONE_ENABLED() (0)
|
|
81 |
#define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START(arg0, arg1)
|
|
82 |
#define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_START_ENABLED() (0)
|
|
83 |
#define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE(arg0)
|
|
84 |
#define DRIZZLE_QUERY_OPT_CHOOSE_PLAN_DONE_ENABLED() (0)
|
|
1126.10.23
by Padraig O'Sullivan
Added a new header file to be included by files which want to insert dtrace |
85 |
#define DRIZZLE_QUERY_PARSE_DONE(arg0)
|
86 |
#define DRIZZLE_QUERY_PARSE_DONE_ENABLED() (0)
|
|
87 |
#define DRIZZLE_QUERY_PARSE_START(arg0)
|
|
88 |
#define DRIZZLE_QUERY_PARSE_START_ENABLED() (0)
|
|
89 |
#define DRIZZLE_QUERY_START(arg0, arg1, arg2)
|
|
90 |
#define DRIZZLE_QUERY_START_ENABLED() (0)
|
|
91 |
#define DRIZZLE_SELECT_DONE(arg0, arg1)
|
|
92 |
#define DRIZZLE_SELECT_DONE_ENABLED() (0)
|
|
93 |
#define DRIZZLE_SELECT_START(arg0)
|
|
94 |
#define DRIZZLE_SELECT_START_ENABLED() (0)
|
|
95 |
#define DRIZZLE_UPDATE_DONE(arg0, arg1, arg2)
|
|
96 |
#define DRIZZLE_UPDATE_DONE_ENABLED() (0)
|
|
97 |
#define DRIZZLE_UPDATE_ROW_DONE(arg0)
|
|
98 |
#define DRIZZLE_UPDATE_ROW_DONE_ENABLED() (0)
|
|
99 |
#define DRIZZLE_UPDATE_ROW_START(arg0, arg1)
|
|
100 |
#define DRIZZLE_UPDATE_ROW_START_ENABLED() (0)
|
|
101 |
#define DRIZZLE_UPDATE_START(arg0)
|
|
102 |
#define DRIZZLE_UPDATE_START_ENABLED() (0)
|
|
103 |
#endif
|
|
104 |
||
105 |
#endif /* DRIZZLED_PROBES_H */ |