~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/probes.h

  • Committer: Grant Limberg
  • Date: 2008-08-12 21:13:01 UTC
  • mto: (322.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: grant@glsoftware.net-20080812211301-ym3wsowelkgp16s2
renamed all instances of MYSQL_ to DRIZZLE_

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
#if defined(_DTRACE_VERSION)
15
15
 
16
 
#define MYSQL_DELETE_END() \
 
16
#define DRIZZLE_DELETE_END() \
17
17
        __dtrace_mysql___delete_end()
18
 
#define MYSQL_DELETE_END_ENABLED() \
 
18
#define DRIZZLE_DELETE_END_ENABLED() \
19
19
        __dtraceenabled_mysql___delete_end()
20
 
#define MYSQL_DELETE_START() \
 
20
#define DRIZZLE_DELETE_START() \
21
21
        __dtrace_mysql___delete_start()
22
 
#define MYSQL_DELETE_START_ENABLED() \
 
22
#define DRIZZLE_DELETE_START_ENABLED() \
23
23
        __dtraceenabled_mysql___delete_start()
24
 
#define MYSQL_EXTERNAL_LOCK(arg0) \
 
24
#define DRIZZLE_EXTERNAL_LOCK(arg0) \
25
25
        __dtrace_mysql___external_lock(arg0)
26
 
#define MYSQL_EXTERNAL_LOCK_ENABLED() \
 
26
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() \
27
27
        __dtraceenabled_mysql___external_lock()
28
 
#define MYSQL_FILESORT_END() \
 
28
#define DRIZZLE_FILESORT_END() \
29
29
        __dtrace_mysql___filesort_end()
30
 
#define MYSQL_FILESORT_END_ENABLED() \
 
30
#define DRIZZLE_FILESORT_END_ENABLED() \
31
31
        __dtraceenabled_mysql___filesort_end()
32
 
#define MYSQL_FILESORT_START() \
 
32
#define DRIZZLE_FILESORT_START() \
33
33
        __dtrace_mysql___filesort_start()
34
 
#define MYSQL_FILESORT_START_ENABLED() \
 
34
#define DRIZZLE_FILESORT_START_ENABLED() \
35
35
        __dtraceenabled_mysql___filesort_start()
36
 
#define MYSQL_INSERT_END() \
 
36
#define DRIZZLE_INSERT_END() \
37
37
        __dtrace_mysql___insert_end()
38
 
#define MYSQL_INSERT_END_ENABLED() \
 
38
#define DRIZZLE_INSERT_END_ENABLED() \
39
39
        __dtraceenabled_mysql___insert_end()
40
 
#define MYSQL_INSERT_ROW_END() \
 
40
#define DRIZZLE_INSERT_ROW_END() \
41
41
        __dtrace_mysql___insert_row_end()
42
 
#define MYSQL_INSERT_ROW_END_ENABLED() \
 
42
#define DRIZZLE_INSERT_ROW_END_ENABLED() \
43
43
        __dtraceenabled_mysql___insert_row_end()
44
 
#define MYSQL_INSERT_ROW_START() \
 
44
#define DRIZZLE_INSERT_ROW_START() \
45
45
        __dtrace_mysql___insert_row_start()
46
 
#define MYSQL_INSERT_ROW_START_ENABLED() \
 
46
#define DRIZZLE_INSERT_ROW_START_ENABLED() \
47
47
        __dtraceenabled_mysql___insert_row_start()
48
 
#define MYSQL_INSERT_START() \
 
48
#define DRIZZLE_INSERT_START() \
49
49
        __dtrace_mysql___insert_start()
50
 
#define MYSQL_INSERT_START_ENABLED() \
 
50
#define DRIZZLE_INSERT_START_ENABLED() \
51
51
        __dtraceenabled_mysql___insert_start()
52
 
#define MYSQL_SELECT_END() \
 
52
#define DRIZZLE_SELECT_END() \
53
53
        __dtrace_mysql___select_end()
54
 
#define MYSQL_SELECT_END_ENABLED() \
 
54
#define DRIZZLE_SELECT_END_ENABLED() \
55
55
        __dtraceenabled_mysql___select_end()
56
 
#define MYSQL_SELECT_START() \
 
56
#define DRIZZLE_SELECT_START() \
57
57
        __dtrace_mysql___select_start()
58
 
#define MYSQL_SELECT_START_ENABLED() \
 
58
#define DRIZZLE_SELECT_START_ENABLED() \
59
59
        __dtraceenabled_mysql___select_start()
60
 
#define MYSQL_UPDATE_END() \
 
60
#define DRIZZLE_UPDATE_END() \
61
61
        __dtrace_mysql___update_end()
62
 
#define MYSQL_UPDATE_END_ENABLED() \
 
62
#define DRIZZLE_UPDATE_END_ENABLED() \
63
63
        __dtraceenabled_mysql___update_end()
64
 
#define MYSQL_UPDATE_START() \
 
64
#define DRIZZLE_UPDATE_START() \
65
65
        __dtrace_mysql___update_start()
66
 
#define MYSQL_UPDATE_START_ENABLED() \
 
66
#define DRIZZLE_UPDATE_START_ENABLED() \
67
67
        __dtraceenabled_mysql___update_start()
68
68
 
69
69
 
96
96
 
97
97
#else
98
98
 
99
 
#define MYSQL_DELETE_END()
100
 
#define MYSQL_DELETE_END_ENABLED() (0)
101
 
#define MYSQL_DELETE_START()
102
 
#define MYSQL_DELETE_START_ENABLED() (0)
103
 
#define MYSQL_EXTERNAL_LOCK(arg0)
104
 
#define MYSQL_EXTERNAL_LOCK_ENABLED() (0)
105
 
#define MYSQL_FILESORT_END()
106
 
#define MYSQL_FILESORT_END_ENABLED() (0)
107
 
#define MYSQL_FILESORT_START()
108
 
#define MYSQL_FILESORT_START_ENABLED() (0)
109
 
#define MYSQL_INSERT_END()
110
 
#define MYSQL_INSERT_END_ENABLED() (0)
111
 
#define MYSQL_INSERT_ROW_END()
112
 
#define MYSQL_INSERT_ROW_END_ENABLED() (0)
113
 
#define MYSQL_INSERT_ROW_START()
114
 
#define MYSQL_INSERT_ROW_START_ENABLED() (0)
115
 
#define MYSQL_INSERT_START()
116
 
#define MYSQL_INSERT_START_ENABLED() (0)
117
 
#define MYSQL_SELECT_END()
118
 
#define MYSQL_SELECT_END_ENABLED() (0)
119
 
#define MYSQL_SELECT_START()
120
 
#define MYSQL_SELECT_START_ENABLED() (0)
121
 
#define MYSQL_UPDATE_END()
122
 
#define MYSQL_UPDATE_END_ENABLED() (0)
123
 
#define MYSQL_UPDATE_START()
124
 
#define MYSQL_UPDATE_START_ENABLED() (0)
 
99
#define DRIZZLE_DELETE_END()
 
100
#define DRIZZLE_DELETE_END_ENABLED() (0)
 
101
#define DRIZZLE_DELETE_START()
 
102
#define DRIZZLE_DELETE_START_ENABLED() (0)
 
103
#define DRIZZLE_EXTERNAL_LOCK(arg0)
 
104
#define DRIZZLE_EXTERNAL_LOCK_ENABLED() (0)
 
105
#define DRIZZLE_FILESORT_END()
 
106
#define DRIZZLE_FILESORT_END_ENABLED() (0)
 
107
#define DRIZZLE_FILESORT_START()
 
108
#define DRIZZLE_FILESORT_START_ENABLED() (0)
 
109
#define DRIZZLE_INSERT_END()
 
110
#define DRIZZLE_INSERT_END_ENABLED() (0)
 
111
#define DRIZZLE_INSERT_ROW_END()
 
112
#define DRIZZLE_INSERT_ROW_END_ENABLED() (0)
 
113
#define DRIZZLE_INSERT_ROW_START()
 
114
#define DRIZZLE_INSERT_ROW_START_ENABLED() (0)
 
115
#define DRIZZLE_INSERT_START()
 
116
#define DRIZZLE_INSERT_START_ENABLED() (0)
 
117
#define DRIZZLE_SELECT_END()
 
118
#define DRIZZLE_SELECT_END_ENABLED() (0)
 
119
#define DRIZZLE_SELECT_START()
 
120
#define DRIZZLE_SELECT_START_ENABLED() (0)
 
121
#define DRIZZLE_UPDATE_END()
 
122
#define DRIZZLE_UPDATE_END_ENABLED() (0)
 
123
#define DRIZZLE_UPDATE_START()
 
124
#define DRIZZLE_UPDATE_START_ENABLED() (0)
125
125
 
126
126
#endif
127
127