Commit | Line | Data |
---|---|---|
0a42beb6 MD |
1 | /* |
2 | * lttng-tracepoint-events-reset.h | |
3 | * | |
4 | * Copyright (C) 2010-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | * | |
6 | * Dual LGPL v2.1/GPL v2 license. | |
7 | */ | |
8 | ||
9 | /* Reset macros used within TRACE_EVENT to "nothing" */ | |
10 | ||
11 | #undef ctf_integer_ext | |
12 | #define ctf_integer_ext(_type, _item, _src, _byte_order, _base) | |
13 | ||
14 | #undef ctf_array_encoded | |
15 | #define ctf_array_encoded(_type, _item, _src, _length, _encoding) | |
16 | ||
17 | #undef ctf_sequence_encoded | |
18 | #define ctf_sequence_encoded(_type, _item, _src, _length_type, \ | |
19 | _src_length, _encoding) | |
20 | ||
21 | #undef ctf_string | |
22 | #define ctf_string(_item, _src) | |
23 | ||
24 | #undef TP_PROTO | |
25 | #define TP_PROTO(args...) | |
26 | ||
27 | #undef TP_ARGS | |
28 | #define TP_ARGS(args...) | |
29 | ||
30 | #undef TP_FIELDS | |
31 | #define TP_FIELDS(args...) | |
32 | ||
33 | #undef TRACEPOINT_EVENT_CLASS | |
34 | #define TRACEPOINT_EVENT_CLASS(_name, _proto, _args, _fields) | |
35 | ||
36 | #undef TRACEPOINT_EVENT_INSTANCE | |
37 | #define TRACEPOINT_EVENT_INSTANCE(_template, _name, _proto, _args) |