Commit | Line | Data |
---|---|---|
17baffe2 MD |
1 | /* |
2 | * lttng-events-reset.h | |
3 | * | |
886d51a3 | 4 | * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
17baffe2 | 5 | * |
886d51a3 MD |
6 | * This library is free software; you can redistribute it and/or |
7 | * modify it under the terms of the GNU Lesser General Public | |
8 | * License as published by the Free Software Foundation; only | |
9 | * version 2.1 of the License. | |
10 | * | |
11 | * This library is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | * Lesser General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU Lesser General Public | |
17 | * License along with this library; if not, write to the Free Software | |
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
17baffe2 MD |
19 | */ |
20 | ||
6db3d13b MD |
21 | /* Reset macros used within TRACE_EVENT to "nothing" */ |
22 | ||
d71e6471 MD |
23 | #undef __field_full |
24 | #define __field_full(_type, _item, _order, _base) | |
6db3d13b | 25 | |
d71e6471 MD |
26 | #undef __array_enc_ext |
27 | #define __array_enc_ext(_type, _item, _length, _order, _base, _encoding) | |
6db3d13b | 28 | |
d71e6471 MD |
29 | #undef __dynamic_array_enc_ext |
30 | #define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding) | |
c099397a | 31 | |
84da5206 MD |
32 | #undef __dynamic_array_enc_ext_2 |
33 | #define __dynamic_array_enc_ext_2(_type, _item, _length1, _length2, _order, _base, _encoding) | |
34 | ||
d71e6471 | 35 | #undef __dynamic_array_len |
d32a57a2 MD |
36 | #define __dynamic_array_len(_type, _item, _length) |
37 | ||
6db3d13b MD |
38 | #undef __string |
39 | #define __string(_item, _src) | |
40 | ||
e763dbf5 MD |
41 | #undef tp_assign |
42 | #define tp_assign(dest, src) | |
43 | ||
44 | #undef tp_memcpy | |
45 | #define tp_memcpy(dest, src, len) | |
46 | ||
47 | #undef tp_memcpy_dyn | |
48 | #define tp_memcpy_dyn(dest, src, len) | |
49 | ||
50 | #undef tp_strcpy | |
51 | #define tp_strcpy(dest, src) | |
52 | ||
53 | #undef __get_str | |
54 | #define __get_str(field) | |
55 | ||
56 | #undef __get_dynamic_array | |
57 | #define __get_dynamic_array(field) | |
58 | ||
59 | #undef __get_dynamic_array_len | |
60 | #define __get_dynamic_array_len(field) | |
61 | ||
6db3d13b MD |
62 | #undef TP_PROTO |
63 | #define TP_PROTO(args...) | |
64 | ||
65 | #undef TP_ARGS | |
66 | #define TP_ARGS(args...) | |
67 | ||
68 | #undef TP_STRUCT__entry | |
69 | #define TP_STRUCT__entry(args...) | |
70 | ||
71 | #undef TP_fast_assign | |
72 | #define TP_fast_assign(args...) | |
73 | ||
391286e8 MD |
74 | #undef __perf_count |
75 | #define __perf_count(args...) | |
76 | ||
77 | #undef __perf_addr | |
78 | #define __perf_addr(args...) | |
79 | ||
80 | #undef TP_perf_assign | |
81 | #define TP_perf_assign(args...) | |
82 | ||
6db3d13b MD |
83 | #undef TP_printk |
84 | #define TP_printk(args...) | |
85 | ||
86 | #undef DECLARE_EVENT_CLASS | |
87 | #define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) | |
88 | ||
f7bdf4db MD |
89 | #undef DECLARE_EVENT_CLASS_NOARGS |
90 | #define DECLARE_EVENT_CLASS_NOARGS(_name, _tstruct, _assign, _print) | |
91 | ||
76e4f017 MD |
92 | #undef DEFINE_EVENT_MAP |
93 | #define DEFINE_EVENT_MAP(_template, _name, _map, _proto, _args) | |
ae3dd5f0 | 94 | |
76e4f017 MD |
95 | #undef DEFINE_EVENT_MAP_NOARGS |
96 | #define DEFINE_EVENT_MAP_NOARGS(_template, _name, _map) | |
f7bdf4db | 97 | |
ae3dd5f0 MD |
98 | #undef TRACE_EVENT_FLAGS |
99 | #define TRACE_EVENT_FLAGS(name, value) |