1 /* Generated by the Systemtap dtrace wrapper */ 2 3 4 #define _SDT_HAS_SEMAPHORES 1 5 6 7 #define STAP_HAS_SEMAPHORES 1 /* deprecated */ 8 9 10 #include <sys/sdt.h> 11 12 /* USDT_SAMPLE_LIB1_SDT_OPERATION_START_SDT ( uint64_t operation_id, const char* input ) */ 13 #if defined STAP_SDT_V1 14 #define USDT_SAMPLE_LIB1_SDT_OPERATION_START_SDT_ENABLED() __builtin_expect (operation_start_sdt_semaphore, 0) 15 #define usdt_sample_lib1_sdt_operation_start_sdt_semaphore operation_start_sdt_semaphore 16 #else 17 #define USDT_SAMPLE_LIB1_SDT_OPERATION_START_SDT_ENABLED() __builtin_expect (usdt_sample_lib1_sdt_operation_start_sdt_semaphore, 0) 18 #endif 19 __extension__ extern unsigned short usdt_sample_lib1_sdt_operation_start_sdt_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes"))); 20 #define USDT_SAMPLE_LIB1_SDT_OPERATION_START_SDT(arg1, arg2) \ 21 DTRACE_PROBE2 (usdt_sample_lib1_sdt, operation_start_sdt, arg1, arg2) 22 23 /* USDT_SAMPLE_LIB1_SDT_OPERATION_END_SDT ( uint64_t operation_id, const char* output ) */ 24 #if defined STAP_SDT_V1 25 #define USDT_SAMPLE_LIB1_SDT_OPERATION_END_SDT_ENABLED() __builtin_expect (operation_end_sdt_semaphore, 0) 26 #define usdt_sample_lib1_sdt_operation_end_sdt_semaphore operation_end_sdt_semaphore 27 #else 28 #define USDT_SAMPLE_LIB1_SDT_OPERATION_END_SDT_ENABLED() __builtin_expect (usdt_sample_lib1_sdt_operation_end_sdt_semaphore, 0) 29 #endif 30 __extension__ extern unsigned short usdt_sample_lib1_sdt_operation_end_sdt_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes"))); 31 #define USDT_SAMPLE_LIB1_SDT_OPERATION_END_SDT(arg1, arg2) \ 32 DTRACE_PROBE2 (usdt_sample_lib1_sdt, operation_end_sdt, arg1, arg2) 33 34