2 #undef TRACEPOINT_PROVIDER 3 #define TRACEPOINT_PROVIDER orocos_rtt 5 #if !defined(_LTTNG_UST_H) || defined(TRACEPOINT_HEADER_MULTI_READ) 8 #include <lttng/tracepoint.h> 38 ctf_integer(
unsigned, value, v)
43 #define TRACEPOINT_CONTEXT(provider, event) \ 44 TRACEPOINT_EVENT(provider, event, TP_ARGS(unsigned, v, const char *, s), TP_FIELDS(ctf_string(name, s) ctf_integer(unsigned, on, v))) 46 #define TRACEPOINT_CONTEXT(provider, event) \ 47 TRACEPOINT_EVENT(provider, event, TP_ARGS(unsigned, v, const char *, s), TP_FIELDS(ctf_string(name, s) ctf_integer(unsigned, on, v))) \ 48 struct TracepointContext__##provider__##event { \ 50 TracepointContext__##provider__##event(const char* name) \ 53 tracepoint(provider, event, 1, name); \ 55 ~TracepointContext__##provider__##event() \ 57 tracepoint(provider, event, 0, name); \ 62 #define TRACEPOINT_NAMED_EVENT(provider, event) \ 63 TRACEPOINT_EVENT(provider, event, TP_ARGS(const char *, s), TP_FIELDS(ctf_string(name, s))) 68 TP_ARGS(
unsigned, v,
const char*, s),
72 ctf_integer(
unsigned, flow_status, v)
89 #define tracepoint_context(provider, event, name) \ 90 TracepointContext__##provider__##event __tracepoint_context_##provider__##event(name); 94 #undef TRACEPOINT_INCLUDE_FILE 95 #define TRACEPOINT_INCLUDE_FILE ./lttng_ust.h 97 #include <lttng/tracepoint-event.h> TP_FIELDS(ctf_integer(unsigned, value, v))) TRACEPOINT_EVENT(orocos_rtt
#define TRACEPOINT_NAMED_EVENT(provider, event)
#define TRACEPOINT_CONTEXT(provider, event)
TRACEPOINT_EVENT(orocos_rtt, thread_init, TP_ARGS(const char *, n), TP_FIELDS(ctf_string(name, n))) TRACEPOINT_EVENT(orocos_rtt