Introduce API to remap event names exposed by LTTng
[lttng-modules.git] / probes / lttng-events-reset.h
CommitLineData
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
d71e6471 32#undef __dynamic_array_len
d32a57a2
MD
33#define __dynamic_array_len(_type, _item, _length)
34
6db3d13b
MD
35#undef __string
36#define __string(_item, _src)
37
e763dbf5
MD
38#undef tp_assign
39#define tp_assign(dest, src)
40
41#undef tp_memcpy
42#define tp_memcpy(dest, src, len)
43
44#undef tp_memcpy_dyn
45#define tp_memcpy_dyn(dest, src, len)
46
47#undef tp_strcpy
48#define tp_strcpy(dest, src)
49
50#undef __get_str
51#define __get_str(field)
52
53#undef __get_dynamic_array
54#define __get_dynamic_array(field)
55
56#undef __get_dynamic_array_len
57#define __get_dynamic_array_len(field)
58
6db3d13b
MD
59#undef TP_PROTO
60#define TP_PROTO(args...)
61
62#undef TP_ARGS
63#define TP_ARGS(args...)
64
65#undef TP_STRUCT__entry
66#define TP_STRUCT__entry(args...)
67
68#undef TP_fast_assign
69#define TP_fast_assign(args...)
70
391286e8
MD
71#undef __perf_count
72#define __perf_count(args...)
73
74#undef __perf_addr
75#define __perf_addr(args...)
76
77#undef TP_perf_assign
78#define TP_perf_assign(args...)
79
6db3d13b
MD
80#undef TP_printk
81#define TP_printk(args...)
82
83#undef DECLARE_EVENT_CLASS
84#define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print)
85
f7bdf4db
MD
86#undef DECLARE_EVENT_CLASS_NOARGS
87#define DECLARE_EVENT_CLASS_NOARGS(_name, _tstruct, _assign, _print)
88
76e4f017
MD
89#undef DEFINE_EVENT_MAP
90#define DEFINE_EVENT_MAP(_template, _name, _map, _proto, _args)
ae3dd5f0 91
76e4f017
MD
92#undef DEFINE_EVENT_MAP_NOARGS
93#define DEFINE_EVENT_MAP_NOARGS(_template, _name, _map)
f7bdf4db 94
ae3dd5f0
MD
95#undef TRACE_EVENT_FLAGS
96#define TRACE_EVENT_FLAGS(name, value)
This page took 0.030861 seconds and 4 git commands to generate.