Home | History | Annotate | Line # | Download | only in isc
      1 /*
      2  * Generated by dtrace(1M).
      3  */
      4 
      5 #ifndef	_PROBES_H
      6 #define	_PROBES_H
      7 
      8 #include <unistd.h>
      9 
     10 #ifdef	__cplusplus
     11 extern "C" {
     12 #endif
     13 
     14 #include <sys/sdt.h>
     15 
     16 #if defined(DTRACE) && _DTRACE_VERSION
     17 
     18 #define	LIBISC_JOB_CB_AFTER(arg0, arg1, arg2) \
     19 	__dtrace_libisc___job_cb_after(arg0, arg1, arg2)
     20 #ifndef	__sparc
     21 #define	LIBISC_JOB_CB_AFTER_ENABLED() \
     22 	__dtraceenabled_libisc___job_cb_after()
     23 #else
     24 #define	LIBISC_JOB_CB_AFTER_ENABLED() \
     25 	__dtraceenabled_libisc___job_cb_after(0)
     26 #endif
     27 #define	LIBISC_JOB_CB_BEFORE(arg0, arg1, arg2) \
     28 	__dtrace_libisc___job_cb_before(arg0, arg1, arg2)
     29 #ifndef	__sparc
     30 #define	LIBISC_JOB_CB_BEFORE_ENABLED() \
     31 	__dtraceenabled_libisc___job_cb_before()
     32 #else
     33 #define	LIBISC_JOB_CB_BEFORE_ENABLED() \
     34 	__dtraceenabled_libisc___job_cb_before(0)
     35 #endif
     36 #define	LIBISC_RWLOCK_DESTROY(arg0) \
     37 	__dtrace_libisc___rwlock_destroy(arg0)
     38 #ifndef	__sparc
     39 #define	LIBISC_RWLOCK_DESTROY_ENABLED() \
     40 	__dtraceenabled_libisc___rwlock_destroy()
     41 #else
     42 #define	LIBISC_RWLOCK_DESTROY_ENABLED() \
     43 	__dtraceenabled_libisc___rwlock_destroy(0)
     44 #endif
     45 #define	LIBISC_RWLOCK_DOWNGRADE(arg0) \
     46 	__dtrace_libisc___rwlock_downgrade(arg0)
     47 #ifndef	__sparc
     48 #define	LIBISC_RWLOCK_DOWNGRADE_ENABLED() \
     49 	__dtraceenabled_libisc___rwlock_downgrade()
     50 #else
     51 #define	LIBISC_RWLOCK_DOWNGRADE_ENABLED() \
     52 	__dtraceenabled_libisc___rwlock_downgrade(0)
     53 #endif
     54 #define	LIBISC_RWLOCK_INIT(arg0) \
     55 	__dtrace_libisc___rwlock_init(arg0)
     56 #ifndef	__sparc
     57 #define	LIBISC_RWLOCK_INIT_ENABLED() \
     58 	__dtraceenabled_libisc___rwlock_init()
     59 #else
     60 #define	LIBISC_RWLOCK_INIT_ENABLED() \
     61 	__dtraceenabled_libisc___rwlock_init(0)
     62 #endif
     63 #define	LIBISC_RWLOCK_RDLOCK_ACQ(arg0) \
     64 	__dtrace_libisc___rwlock_rdlock_acq(arg0)
     65 #ifndef	__sparc
     66 #define	LIBISC_RWLOCK_RDLOCK_ACQ_ENABLED() \
     67 	__dtraceenabled_libisc___rwlock_rdlock_acq()
     68 #else
     69 #define	LIBISC_RWLOCK_RDLOCK_ACQ_ENABLED() \
     70 	__dtraceenabled_libisc___rwlock_rdlock_acq(0)
     71 #endif
     72 #define	LIBISC_RWLOCK_RDLOCK_REQ(arg0) \
     73 	__dtrace_libisc___rwlock_rdlock_req(arg0)
     74 #ifndef	__sparc
     75 #define	LIBISC_RWLOCK_RDLOCK_REQ_ENABLED() \
     76 	__dtraceenabled_libisc___rwlock_rdlock_req()
     77 #else
     78 #define	LIBISC_RWLOCK_RDLOCK_REQ_ENABLED() \
     79 	__dtraceenabled_libisc___rwlock_rdlock_req(0)
     80 #endif
     81 #define	LIBISC_RWLOCK_RDUNLOCK(arg0) \
     82 	__dtrace_libisc___rwlock_rdunlock(arg0)
     83 #ifndef	__sparc
     84 #define	LIBISC_RWLOCK_RDUNLOCK_ENABLED() \
     85 	__dtraceenabled_libisc___rwlock_rdunlock()
     86 #else
     87 #define	LIBISC_RWLOCK_RDUNLOCK_ENABLED() \
     88 	__dtraceenabled_libisc___rwlock_rdunlock(0)
     89 #endif
     90 #define	LIBISC_RWLOCK_TRYRDLOCK(arg0, arg1) \
     91 	__dtrace_libisc___rwlock_tryrdlock(arg0, arg1)
     92 #ifndef	__sparc
     93 #define	LIBISC_RWLOCK_TRYRDLOCK_ENABLED() \
     94 	__dtraceenabled_libisc___rwlock_tryrdlock()
     95 #else
     96 #define	LIBISC_RWLOCK_TRYRDLOCK_ENABLED() \
     97 	__dtraceenabled_libisc___rwlock_tryrdlock(0)
     98 #endif
     99 #define	LIBISC_RWLOCK_TRYUPGRADE(arg0, arg1) \
    100 	__dtrace_libisc___rwlock_tryupgrade(arg0, arg1)
    101 #ifndef	__sparc
    102 #define	LIBISC_RWLOCK_TRYUPGRADE_ENABLED() \
    103 	__dtraceenabled_libisc___rwlock_tryupgrade()
    104 #else
    105 #define	LIBISC_RWLOCK_TRYUPGRADE_ENABLED() \
    106 	__dtraceenabled_libisc___rwlock_tryupgrade(0)
    107 #endif
    108 #define	LIBISC_RWLOCK_TRYWRLOCK(arg0, arg1) \
    109 	__dtrace_libisc___rwlock_trywrlock(arg0, arg1)
    110 #ifndef	__sparc
    111 #define	LIBISC_RWLOCK_TRYWRLOCK_ENABLED() \
    112 	__dtraceenabled_libisc___rwlock_trywrlock()
    113 #else
    114 #define	LIBISC_RWLOCK_TRYWRLOCK_ENABLED() \
    115 	__dtraceenabled_libisc___rwlock_trywrlock(0)
    116 #endif
    117 #define	LIBISC_RWLOCK_WRLOCK_ACQ(arg0) \
    118 	__dtrace_libisc___rwlock_wrlock_acq(arg0)
    119 #ifndef	__sparc
    120 #define	LIBISC_RWLOCK_WRLOCK_ACQ_ENABLED() \
    121 	__dtraceenabled_libisc___rwlock_wrlock_acq()
    122 #else
    123 #define	LIBISC_RWLOCK_WRLOCK_ACQ_ENABLED() \
    124 	__dtraceenabled_libisc___rwlock_wrlock_acq(0)
    125 #endif
    126 #define	LIBISC_RWLOCK_WRLOCK_REQ(arg0) \
    127 	__dtrace_libisc___rwlock_wrlock_req(arg0)
    128 #ifndef	__sparc
    129 #define	LIBISC_RWLOCK_WRLOCK_REQ_ENABLED() \
    130 	__dtraceenabled_libisc___rwlock_wrlock_req()
    131 #else
    132 #define	LIBISC_RWLOCK_WRLOCK_REQ_ENABLED() \
    133 	__dtraceenabled_libisc___rwlock_wrlock_req(0)
    134 #endif
    135 #define	LIBISC_RWLOCK_WRUNLOCK(arg0) \
    136 	__dtrace_libisc___rwlock_wrunlock(arg0)
    137 #ifndef	__sparc
    138 #define	LIBISC_RWLOCK_WRUNLOCK_ENABLED() \
    139 	__dtraceenabled_libisc___rwlock_wrunlock()
    140 #else
    141 #define	LIBISC_RWLOCK_WRUNLOCK_ENABLED() \
    142 	__dtraceenabled_libisc___rwlock_wrunlock(0)
    143 #endif
    144 
    145 
    146 extern void __dtrace_libisc___job_cb_after(void *, void *, void *);
    147 #ifndef	__sparc
    148 extern int __dtraceenabled_libisc___job_cb_after(void);
    149 #else
    150 extern int __dtraceenabled_libisc___job_cb_after(long);
    151 #endif
    152 extern void __dtrace_libisc___job_cb_before(void *, void *, void *);
    153 #ifndef	__sparc
    154 extern int __dtraceenabled_libisc___job_cb_before(void);
    155 #else
    156 extern int __dtraceenabled_libisc___job_cb_before(long);
    157 #endif
    158 extern void __dtrace_libisc___rwlock_destroy(void *);
    159 #ifndef	__sparc
    160 extern int __dtraceenabled_libisc___rwlock_destroy(void);
    161 #else
    162 extern int __dtraceenabled_libisc___rwlock_destroy(long);
    163 #endif
    164 extern void __dtrace_libisc___rwlock_downgrade(void *);
    165 #ifndef	__sparc
    166 extern int __dtraceenabled_libisc___rwlock_downgrade(void);
    167 #else
    168 extern int __dtraceenabled_libisc___rwlock_downgrade(long);
    169 #endif
    170 extern void __dtrace_libisc___rwlock_init(void *);
    171 #ifndef	__sparc
    172 extern int __dtraceenabled_libisc___rwlock_init(void);
    173 #else
    174 extern int __dtraceenabled_libisc___rwlock_init(long);
    175 #endif
    176 extern void __dtrace_libisc___rwlock_rdlock_acq(void *);
    177 #ifndef	__sparc
    178 extern int __dtraceenabled_libisc___rwlock_rdlock_acq(void);
    179 #else
    180 extern int __dtraceenabled_libisc___rwlock_rdlock_acq(long);
    181 #endif
    182 extern void __dtrace_libisc___rwlock_rdlock_req(void *);
    183 #ifndef	__sparc
    184 extern int __dtraceenabled_libisc___rwlock_rdlock_req(void);
    185 #else
    186 extern int __dtraceenabled_libisc___rwlock_rdlock_req(long);
    187 #endif
    188 extern void __dtrace_libisc___rwlock_rdunlock(void *);
    189 #ifndef	__sparc
    190 extern int __dtraceenabled_libisc___rwlock_rdunlock(void);
    191 #else
    192 extern int __dtraceenabled_libisc___rwlock_rdunlock(long);
    193 #endif
    194 extern void __dtrace_libisc___rwlock_tryrdlock(void *, int);
    195 #ifndef	__sparc
    196 extern int __dtraceenabled_libisc___rwlock_tryrdlock(void);
    197 #else
    198 extern int __dtraceenabled_libisc___rwlock_tryrdlock(long);
    199 #endif
    200 extern void __dtrace_libisc___rwlock_tryupgrade(void *, int);
    201 #ifndef	__sparc
    202 extern int __dtraceenabled_libisc___rwlock_tryupgrade(void);
    203 #else
    204 extern int __dtraceenabled_libisc___rwlock_tryupgrade(long);
    205 #endif
    206 extern void __dtrace_libisc___rwlock_trywrlock(void *, int);
    207 #ifndef	__sparc
    208 extern int __dtraceenabled_libisc___rwlock_trywrlock(void);
    209 #else
    210 extern int __dtraceenabled_libisc___rwlock_trywrlock(long);
    211 #endif
    212 extern void __dtrace_libisc___rwlock_wrlock_acq(void *);
    213 #ifndef	__sparc
    214 extern int __dtraceenabled_libisc___rwlock_wrlock_acq(void);
    215 #else
    216 extern int __dtraceenabled_libisc___rwlock_wrlock_acq(long);
    217 #endif
    218 extern void __dtrace_libisc___rwlock_wrlock_req(void *);
    219 #ifndef	__sparc
    220 extern int __dtraceenabled_libisc___rwlock_wrlock_req(void);
    221 #else
    222 extern int __dtraceenabled_libisc___rwlock_wrlock_req(long);
    223 #endif
    224 extern void __dtrace_libisc___rwlock_wrunlock(void *);
    225 #ifndef	__sparc
    226 extern int __dtraceenabled_libisc___rwlock_wrunlock(void);
    227 #else
    228 extern int __dtraceenabled_libisc___rwlock_wrunlock(long);
    229 #endif
    230 
    231 #else
    232 
    233 #define	LIBISC_JOB_CB_AFTER(arg0, arg1, arg2)
    234 #define	LIBISC_JOB_CB_AFTER_ENABLED() (0)
    235 #define	LIBISC_JOB_CB_BEFORE(arg0, arg1, arg2)
    236 #define	LIBISC_JOB_CB_BEFORE_ENABLED() (0)
    237 #define	LIBISC_RWLOCK_DESTROY(arg0)
    238 #define	LIBISC_RWLOCK_DESTROY_ENABLED() (0)
    239 #define	LIBISC_RWLOCK_DOWNGRADE(arg0)
    240 #define	LIBISC_RWLOCK_DOWNGRADE_ENABLED() (0)
    241 #define	LIBISC_RWLOCK_INIT(arg0)
    242 #define	LIBISC_RWLOCK_INIT_ENABLED() (0)
    243 #define	LIBISC_RWLOCK_RDLOCK_ACQ(arg0)
    244 #define	LIBISC_RWLOCK_RDLOCK_ACQ_ENABLED() (0)
    245 #define	LIBISC_RWLOCK_RDLOCK_REQ(arg0)
    246 #define	LIBISC_RWLOCK_RDLOCK_REQ_ENABLED() (0)
    247 #define	LIBISC_RWLOCK_RDUNLOCK(arg0)
    248 #define	LIBISC_RWLOCK_RDUNLOCK_ENABLED() (0)
    249 #define	LIBISC_RWLOCK_TRYRDLOCK(arg0, arg1)
    250 #define	LIBISC_RWLOCK_TRYRDLOCK_ENABLED() (0)
    251 #define	LIBISC_RWLOCK_TRYUPGRADE(arg0, arg1)
    252 #define	LIBISC_RWLOCK_TRYUPGRADE_ENABLED() (0)
    253 #define	LIBISC_RWLOCK_TRYWRLOCK(arg0, arg1)
    254 #define	LIBISC_RWLOCK_TRYWRLOCK_ENABLED() (0)
    255 #define	LIBISC_RWLOCK_WRLOCK_ACQ(arg0)
    256 #define	LIBISC_RWLOCK_WRLOCK_ACQ_ENABLED() (0)
    257 #define	LIBISC_RWLOCK_WRLOCK_REQ(arg0)
    258 #define	LIBISC_RWLOCK_WRLOCK_REQ_ENABLED() (0)
    259 #define	LIBISC_RWLOCK_WRUNLOCK(arg0)
    260 #define	LIBISC_RWLOCK_WRUNLOCK_ENABLED() (0)
    261 
    262 #endif
    263 
    264 
    265 #ifdef	__cplusplus
    266 }
    267 #endif
    268 
    269 #endif	/* _PROBES_H */
    270