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