Fix: ring buffer: get_subbuf() checks should be performed on "consumed" parameter
[lttng-modules.git] / probes / lttng-events-reset.h
... / ...
CommitLineData
1/*
2 * lttng-events-reset.h
3 *
4 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
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
19 */
20
21/* Reset macros used within TRACE_EVENT to "nothing" */
22
23#undef __field_full
24#define __field_full(_type, _item, _order, _base)
25
26#undef __array_enc_ext
27#define __array_enc_ext(_type, _item, _length, _order, _base, _encoding)
28
29#undef __dynamic_array_enc_ext
30#define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding)
31
32#undef __dynamic_array_len
33#define __dynamic_array_len(_type, _item, _length)
34
35#undef __string
36#define __string(_item, _src)
37
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
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
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
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
86#undef DECLARE_EVENT_CLASS_NOARGS
87#define DECLARE_EVENT_CLASS_NOARGS(_name, _tstruct, _assign, _print)
88
89#undef DEFINE_EVENT_MAP
90#define DEFINE_EVENT_MAP(_template, _name, _map, _proto, _args)
91
92#undef DEFINE_EVENT_MAP_NOARGS
93#define DEFINE_EVENT_MAP_NOARGS(_template, _name, _map)
94
95#undef TRACE_EVENT_FLAGS
96#define TRACE_EVENT_FLAGS(name, value)
This page took 0.022527 seconds and 4 git commands to generate.