mirror of https://github.com/grpc/grpc.git
- Added ptag ignore annotation threshold - prefixed everythig with grpc_ - removed spurious annotations in channel_create.c and client_channel.c - removed stap_probes.h (it's generated from stap_probes.d by make) - Updated Makefile and its template with the right way to generate stap probe headers from its .d definition.pull/1408/head
parent
735987bea0
commit
bbc0b775e1
12 changed files with 62 additions and 100 deletions
@ -1,43 +0,0 @@ |
||||
/* Generated by the Systemtap dtrace wrapper */ |
||||
|
||||
#define _SDT_HAS_SEMAPHORES 1 |
||||
|
||||
|
||||
#define STAP_HAS_SEMAPHORES 1 /* deprecated */ |
||||
|
||||
|
||||
#include <sys/sdt.h> |
||||
|
||||
/* _STAP_ADD_MARK ( int tag) */ |
||||
#if defined STAP_SDT_V1 |
||||
#define _STAP_ADD_MARK_ENABLED() __builtin_expect (add_mark_semaphore, 0) |
||||
#define _stap_add_mark_semaphore add_mark_semaphore |
||||
#else |
||||
#define _STAP_ADD_MARK_ENABLED() __builtin_expect (_stap_add_mark_semaphore, 0) |
||||
#endif |
||||
__extension__ extern unsigned short _stap_add_mark_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes"))); |
||||
#define _STAP_ADD_MARK(arg1) \ |
||||
DTRACE_PROBE1(_stap,add_mark,arg1) |
||||
|
||||
/* _STAP_TIMING_NS_BEGIN ( int tag) */ |
||||
#if defined STAP_SDT_V1 |
||||
#define _STAP_TIMING_NS_BEGIN_ENABLED() __builtin_expect (timing_ns_begin_semaphore, 0) |
||||
#define _stap_timing_ns_begin_semaphore timing_ns_begin_semaphore |
||||
#else |
||||
#define _STAP_TIMING_NS_BEGIN_ENABLED() __builtin_expect (_stap_timing_ns_begin_semaphore, 0) |
||||
#endif |
||||
__extension__ extern unsigned short _stap_timing_ns_begin_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes"))); |
||||
#define _STAP_TIMING_NS_BEGIN(arg1) \ |
||||
DTRACE_PROBE1(_stap,timing_ns_begin,arg1) |
||||
|
||||
/* _STAP_TIMING_NS_END ( int tag) */ |
||||
#if defined STAP_SDT_V1 |
||||
#define _STAP_TIMING_NS_END_ENABLED() __builtin_expect (timing_ns_end_semaphore, 0) |
||||
#define _stap_timing_ns_end_semaphore timing_ns_end_semaphore |
||||
#else |
||||
#define _STAP_TIMING_NS_END_ENABLED() __builtin_expect (_stap_timing_ns_end_semaphore, 0) |
||||
#endif |
||||
__extension__ extern unsigned short _stap_timing_ns_end_semaphore __attribute__ ((unused)) __attribute__ ((section (".probes"))); |
||||
#define _STAP_TIMING_NS_END(arg1) \ |
||||
DTRACE_PROBE1(_stap,timing_ns_end,arg1) |
||||
|
Loading…
Reference in new issue