~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
/*
2
 * Generated by dtrace(1M).
3
 */
4
5
#ifndef	_PROBES_H
6
#define	_PROBES_H
7
8
9
10
#ifdef	__cplusplus
11
extern "C" {
12
#endif
13
53.2.31 by Monty Taylor
Removed HAVE_LONG_LONG, as this is now assumed.
14
#if defined(_DTRACE_VERSION)
1 by brian
clean slate
15
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
16
#define	DRIZZLE_DELETE_END() \
1 by brian
clean slate
17
	__dtrace_mysql___delete_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
18
#define	DRIZZLE_DELETE_END_ENABLED() \
1 by brian
clean slate
19
	__dtraceenabled_mysql___delete_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
20
#define	DRIZZLE_DELETE_START() \
1 by brian
clean slate
21
	__dtrace_mysql___delete_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
22
#define	DRIZZLE_DELETE_START_ENABLED() \
1 by brian
clean slate
23
	__dtraceenabled_mysql___delete_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
24
#define	DRIZZLE_EXTERNAL_LOCK(arg0) \
1 by brian
clean slate
25
	__dtrace_mysql___external_lock(arg0)
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
26
#define	DRIZZLE_EXTERNAL_LOCK_ENABLED() \
1 by brian
clean slate
27
	__dtraceenabled_mysql___external_lock()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
28
#define	DRIZZLE_FILESORT_END() \
1 by brian
clean slate
29
	__dtrace_mysql___filesort_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
30
#define	DRIZZLE_FILESORT_END_ENABLED() \
1 by brian
clean slate
31
	__dtraceenabled_mysql___filesort_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
32
#define	DRIZZLE_FILESORT_START() \
1 by brian
clean slate
33
	__dtrace_mysql___filesort_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
34
#define	DRIZZLE_FILESORT_START_ENABLED() \
1 by brian
clean slate
35
	__dtraceenabled_mysql___filesort_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
36
#define	DRIZZLE_INSERT_END() \
1 by brian
clean slate
37
	__dtrace_mysql___insert_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
38
#define	DRIZZLE_INSERT_END_ENABLED() \
1 by brian
clean slate
39
	__dtraceenabled_mysql___insert_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
40
#define	DRIZZLE_INSERT_ROW_END() \
1 by brian
clean slate
41
	__dtrace_mysql___insert_row_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
42
#define	DRIZZLE_INSERT_ROW_END_ENABLED() \
1 by brian
clean slate
43
	__dtraceenabled_mysql___insert_row_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
44
#define	DRIZZLE_INSERT_ROW_START() \
1 by brian
clean slate
45
	__dtrace_mysql___insert_row_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
46
#define	DRIZZLE_INSERT_ROW_START_ENABLED() \
1 by brian
clean slate
47
	__dtraceenabled_mysql___insert_row_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
48
#define	DRIZZLE_INSERT_START() \
1 by brian
clean slate
49
	__dtrace_mysql___insert_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
50
#define	DRIZZLE_INSERT_START_ENABLED() \
1 by brian
clean slate
51
	__dtraceenabled_mysql___insert_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
52
#define	DRIZZLE_SELECT_END() \
1 by brian
clean slate
53
	__dtrace_mysql___select_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
54
#define	DRIZZLE_SELECT_END_ENABLED() \
1 by brian
clean slate
55
	__dtraceenabled_mysql___select_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
56
#define	DRIZZLE_SELECT_START() \
1 by brian
clean slate
57
	__dtrace_mysql___select_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
58
#define	DRIZZLE_SELECT_START_ENABLED() \
1 by brian
clean slate
59
	__dtraceenabled_mysql___select_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
60
#define	DRIZZLE_UPDATE_END() \
1 by brian
clean slate
61
	__dtrace_mysql___update_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
62
#define	DRIZZLE_UPDATE_END_ENABLED() \
1 by brian
clean slate
63
	__dtraceenabled_mysql___update_end()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
64
#define	DRIZZLE_UPDATE_START() \
1 by brian
clean slate
65
	__dtrace_mysql___update_start()
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
66
#define	DRIZZLE_UPDATE_START_ENABLED() \
1 by brian
clean slate
67
	__dtraceenabled_mysql___update_start()
68
69
70
extern void __dtrace_mysql___delete_end(void);
71
extern int __dtraceenabled_mysql___delete_end(void);
72
extern void __dtrace_mysql___delete_start(void);
73
extern int __dtraceenabled_mysql___delete_start(void);
74
extern void __dtrace_mysql___external_lock(int);
75
extern int __dtraceenabled_mysql___external_lock(void);
76
extern void __dtrace_mysql___filesort_end(void);
77
extern int __dtraceenabled_mysql___filesort_end(void);
78
extern void __dtrace_mysql___filesort_start(void);
79
extern int __dtraceenabled_mysql___filesort_start(void);
80
extern void __dtrace_mysql___insert_end(void);
81
extern int __dtraceenabled_mysql___insert_end(void);
82
extern void __dtrace_mysql___insert_row_end(void);
83
extern int __dtraceenabled_mysql___insert_row_end(void);
84
extern void __dtrace_mysql___insert_row_start(void);
85
extern int __dtraceenabled_mysql___insert_row_start(void);
86
extern void __dtrace_mysql___insert_start(void);
87
extern int __dtraceenabled_mysql___insert_start(void);
88
extern void __dtrace_mysql___select_end(void);
89
extern int __dtraceenabled_mysql___select_end(void);
90
extern void __dtrace_mysql___select_start(void);
91
extern int __dtraceenabled_mysql___select_start(void);
92
extern void __dtrace_mysql___update_end(void);
93
extern int __dtraceenabled_mysql___update_end(void);
94
extern void __dtrace_mysql___update_start(void);
95
extern int __dtraceenabled_mysql___update_start(void);
96
97
#else
98
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
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)
1 by brian
clean slate
125
126
#endif
127
128
129
#ifdef	__cplusplus
130
}
131
#endif
132
133
#endif	/* _PROBES_H */