1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
/*
* Generated by dtrace(1M).
*/
#ifndef _PROBES_H
#define _PROBES_H
#ifdef __cplusplus
extern "C" {
#endif
#if _DTRACE_VERSION
#define MYSQL_DELETE_END() \
__dtrace_mysql___delete_end()
#define MYSQL_DELETE_END_ENABLED() \
__dtraceenabled_mysql___delete_end()
#define MYSQL_DELETE_START() \
__dtrace_mysql___delete_start()
#define MYSQL_DELETE_START_ENABLED() \
__dtraceenabled_mysql___delete_start()
#define MYSQL_EXTERNAL_LOCK(arg0) \
__dtrace_mysql___external_lock(arg0)
#define MYSQL_EXTERNAL_LOCK_ENABLED() \
__dtraceenabled_mysql___external_lock()
#define MYSQL_FILESORT_END() \
__dtrace_mysql___filesort_end()
#define MYSQL_FILESORT_END_ENABLED() \
__dtraceenabled_mysql___filesort_end()
#define MYSQL_FILESORT_START() \
__dtrace_mysql___filesort_start()
#define MYSQL_FILESORT_START_ENABLED() \
__dtraceenabled_mysql___filesort_start()
#define MYSQL_INSERT_END() \
__dtrace_mysql___insert_end()
#define MYSQL_INSERT_END_ENABLED() \
__dtraceenabled_mysql___insert_end()
#define MYSQL_INSERT_ROW_END() \
__dtrace_mysql___insert_row_end()
#define MYSQL_INSERT_ROW_END_ENABLED() \
__dtraceenabled_mysql___insert_row_end()
#define MYSQL_INSERT_ROW_START() \
__dtrace_mysql___insert_row_start()
#define MYSQL_INSERT_ROW_START_ENABLED() \
__dtraceenabled_mysql___insert_row_start()
#define MYSQL_INSERT_START() \
__dtrace_mysql___insert_start()
#define MYSQL_INSERT_START_ENABLED() \
__dtraceenabled_mysql___insert_start()
#define MYSQL_SELECT_END() \
__dtrace_mysql___select_end()
#define MYSQL_SELECT_END_ENABLED() \
__dtraceenabled_mysql___select_end()
#define MYSQL_SELECT_START() \
__dtrace_mysql___select_start()
#define MYSQL_SELECT_START_ENABLED() \
__dtraceenabled_mysql___select_start()
#define MYSQL_UPDATE_END() \
__dtrace_mysql___update_end()
#define MYSQL_UPDATE_END_ENABLED() \
__dtraceenabled_mysql___update_end()
#define MYSQL_UPDATE_START() \
__dtrace_mysql___update_start()
#define MYSQL_UPDATE_START_ENABLED() \
__dtraceenabled_mysql___update_start()
extern void __dtrace_mysql___delete_end(void);
extern int __dtraceenabled_mysql___delete_end(void);
extern void __dtrace_mysql___delete_start(void);
extern int __dtraceenabled_mysql___delete_start(void);
extern void __dtrace_mysql___external_lock(int);
extern int __dtraceenabled_mysql___external_lock(void);
extern void __dtrace_mysql___filesort_end(void);
extern int __dtraceenabled_mysql___filesort_end(void);
extern void __dtrace_mysql___filesort_start(void);
extern int __dtraceenabled_mysql___filesort_start(void);
extern void __dtrace_mysql___insert_end(void);
extern int __dtraceenabled_mysql___insert_end(void);
extern void __dtrace_mysql___insert_row_end(void);
extern int __dtraceenabled_mysql___insert_row_end(void);
extern void __dtrace_mysql___insert_row_start(void);
extern int __dtraceenabled_mysql___insert_row_start(void);
extern void __dtrace_mysql___insert_start(void);
extern int __dtraceenabled_mysql___insert_start(void);
extern void __dtrace_mysql___select_end(void);
extern int __dtraceenabled_mysql___select_end(void);
extern void __dtrace_mysql___select_start(void);
extern int __dtraceenabled_mysql___select_start(void);
extern void __dtrace_mysql___update_end(void);
extern int __dtraceenabled_mysql___update_end(void);
extern void __dtrace_mysql___update_start(void);
extern int __dtraceenabled_mysql___update_start(void);
#else
#define MYSQL_DELETE_END()
#define MYSQL_DELETE_END_ENABLED() (0)
#define MYSQL_DELETE_START()
#define MYSQL_DELETE_START_ENABLED() (0)
#define MYSQL_EXTERNAL_LOCK(arg0)
#define MYSQL_EXTERNAL_LOCK_ENABLED() (0)
#define MYSQL_FILESORT_END()
#define MYSQL_FILESORT_END_ENABLED() (0)
#define MYSQL_FILESORT_START()
#define MYSQL_FILESORT_START_ENABLED() (0)
#define MYSQL_INSERT_END()
#define MYSQL_INSERT_END_ENABLED() (0)
#define MYSQL_INSERT_ROW_END()
#define MYSQL_INSERT_ROW_END_ENABLED() (0)
#define MYSQL_INSERT_ROW_START()
#define MYSQL_INSERT_ROW_START_ENABLED() (0)
#define MYSQL_INSERT_START()
#define MYSQL_INSERT_START_ENABLED() (0)
#define MYSQL_SELECT_END()
#define MYSQL_SELECT_END_ENABLED() (0)
#define MYSQL_SELECT_START()
#define MYSQL_SELECT_START_ENABLED() (0)
#define MYSQL_UPDATE_END()
#define MYSQL_UPDATE_END_ENABLED() (0)
#define MYSQL_UPDATE_START()
#define MYSQL_UPDATE_START_ENABLED() (0)
#endif
#ifdef __cplusplus
}
#endif
#endif /* _PROBES_H */
|