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 | ||
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 | ||
30 | #undef TP_ARGS | |
31 | #define TP_ARGS(args...) | |
32 | ||
33 | #undef TP_FIELDS | |
34 | #define TP_FIELDS(args...) | |
35 | ||
36 | #undef TRACEPOINT_EVENT_CLASS | |
37 | #define TRACEPOINT_EVENT_CLASS(_name, _proto, _args, _fields) | |
38 | ||
8d8a24c8 MD |
39 | #undef TRACEPOINT_EVENT_CLASS_NOARGS |
40 | #define TRACEPOINT_EVENT_CLASS_NOARGS(_name, _fields) | |
41 | ||
0a42beb6 MD |
42 | #undef TRACEPOINT_EVENT_INSTANCE |
43 | #define TRACEPOINT_EVENT_INSTANCE(_template, _name, _proto, _args) | |
8d8a24c8 MD |
44 | |
45 | #undef TRACEPOINT_EVENT_INSTANCE_NOARGS | |
46 | #define TRACEPOINT_EVENT_INSTANCE_NOARGS(_template, _name) |