Commit | Line | Data |
---|---|---|
17baffe2 MD |
1 | /* |
2 | * lttng-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 | ||
6db3d13b MD |
9 | /* Reset macros used within TRACE_EVENT to "nothing" */ |
10 | ||
d71e6471 MD |
11 | #undef __field_full |
12 | #define __field_full(_type, _item, _order, _base) | |
6db3d13b | 13 | |
d71e6471 MD |
14 | #undef __array_enc_ext |
15 | #define __array_enc_ext(_type, _item, _length, _order, _base, _encoding) | |
6db3d13b | 16 | |
d71e6471 MD |
17 | #undef __dynamic_array_enc_ext |
18 | #define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding) | |
c099397a | 19 | |
d71e6471 | 20 | #undef __dynamic_array_len |
d32a57a2 MD |
21 | #define __dynamic_array_len(_type, _item, _length) |
22 | ||
6db3d13b MD |
23 | #undef __string |
24 | #define __string(_item, _src) | |
25 | ||
e763dbf5 MD |
26 | #undef tp_assign |
27 | #define tp_assign(dest, src) | |
28 | ||
29 | #undef tp_memcpy | |
30 | #define tp_memcpy(dest, src, len) | |
31 | ||
32 | #undef tp_memcpy_dyn | |
33 | #define tp_memcpy_dyn(dest, src, len) | |
34 | ||
35 | #undef tp_strcpy | |
36 | #define tp_strcpy(dest, src) | |
37 | ||
38 | #undef __get_str | |
39 | #define __get_str(field) | |
40 | ||
41 | #undef __get_dynamic_array | |
42 | #define __get_dynamic_array(field) | |
43 | ||
44 | #undef __get_dynamic_array_len | |
45 | #define __get_dynamic_array_len(field) | |
46 | ||
6db3d13b MD |
47 | #undef TP_PROTO |
48 | #define TP_PROTO(args...) | |
49 | ||
50 | #undef TP_ARGS | |
51 | #define TP_ARGS(args...) | |
52 | ||
53 | #undef TP_STRUCT__entry | |
54 | #define TP_STRUCT__entry(args...) | |
55 | ||
56 | #undef TP_fast_assign | |
57 | #define TP_fast_assign(args...) | |
58 | ||
391286e8 MD |
59 | #undef __perf_count |
60 | #define __perf_count(args...) | |
61 | ||
62 | #undef __perf_addr | |
63 | #define __perf_addr(args...) | |
64 | ||
65 | #undef TP_perf_assign | |
66 | #define TP_perf_assign(args...) | |
67 | ||
6db3d13b MD |
68 | #undef TP_printk |
69 | #define TP_printk(args...) | |
70 | ||
71 | #undef DECLARE_EVENT_CLASS | |
72 | #define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) | |
73 | ||
f7bdf4db MD |
74 | #undef DECLARE_EVENT_CLASS_NOARGS |
75 | #define DECLARE_EVENT_CLASS_NOARGS(_name, _tstruct, _assign, _print) | |
76 | ||
6db3d13b MD |
77 | #undef DEFINE_EVENT |
78 | #define DEFINE_EVENT(_template, _name, _proto, _args) | |
ae3dd5f0 | 79 | |
f7bdf4db MD |
80 | #undef DEFINE_EVENT_NOARGS |
81 | #define DEFINE_EVENT_NOARGS(_template, _name) | |
82 | ||
ae3dd5f0 MD |
83 | #undef TRACE_EVENT_FLAGS |
84 | #define TRACE_EVENT_FLAGS(name, value) |