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 | ||
11 | #undef __field | |
12 | #define __field(_type, _item) | |
13 | ||
14 | #undef __field_ext | |
15 | #define __field_ext(_type, _item, _filter_type) | |
16 | ||
c099397a MD |
17 | #undef __field_network |
18 | #define __field_network(_type, _item) | |
19 | ||
6db3d13b MD |
20 | #undef __array |
21 | #define __array(_type, _item, _length) | |
22 | ||
23 | #undef __dynamic_array | |
24 | #define __dynamic_array(_type, _item, _length) | |
25 | ||
d32a57a2 MD |
26 | #undef __dynamic_array |
27 | #define __dynamic_array_len(_type, _item, _length) | |
28 | ||
6db3d13b MD |
29 | #undef __string |
30 | #define __string(_item, _src) | |
31 | ||
e763dbf5 MD |
32 | #undef tp_assign |
33 | #define tp_assign(dest, src) | |
34 | ||
35 | #undef tp_memcpy | |
36 | #define tp_memcpy(dest, src, len) | |
37 | ||
38 | #undef tp_memcpy_dyn | |
39 | #define tp_memcpy_dyn(dest, src, len) | |
40 | ||
41 | #undef tp_strcpy | |
42 | #define tp_strcpy(dest, src) | |
43 | ||
44 | #undef __get_str | |
45 | #define __get_str(field) | |
46 | ||
47 | #undef __get_dynamic_array | |
48 | #define __get_dynamic_array(field) | |
49 | ||
50 | #undef __get_dynamic_array_len | |
51 | #define __get_dynamic_array_len(field) | |
52 | ||
6db3d13b MD |
53 | #undef TP_PROTO |
54 | #define TP_PROTO(args...) | |
55 | ||
56 | #undef TP_ARGS | |
57 | #define TP_ARGS(args...) | |
58 | ||
59 | #undef TP_STRUCT__entry | |
60 | #define TP_STRUCT__entry(args...) | |
61 | ||
62 | #undef TP_fast_assign | |
63 | #define TP_fast_assign(args...) | |
64 | ||
391286e8 MD |
65 | #undef __perf_count |
66 | #define __perf_count(args...) | |
67 | ||
68 | #undef __perf_addr | |
69 | #define __perf_addr(args...) | |
70 | ||
71 | #undef TP_perf_assign | |
72 | #define TP_perf_assign(args...) | |
73 | ||
6db3d13b MD |
74 | #undef TP_printk |
75 | #define TP_printk(args...) | |
76 | ||
77 | #undef DECLARE_EVENT_CLASS | |
78 | #define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) | |
79 | ||
80 | #undef DEFINE_EVENT | |
81 | #define DEFINE_EVENT(_template, _name, _proto, _args) | |
ae3dd5f0 MD |
82 | |
83 | #undef TRACE_EVENT_FLAGS | |
84 | #define TRACE_EVENT_FLAGS(name, value) |