X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=7355e1839b68e378c05574ce90fe9d656af5f1c5;hb=886d51a3d7ed5fa6b41d7f19b3e14ae6c535a44c;hp=a764f43e960f6c1a7446f9d0f85aa4b61b81b43a;hpb=391286e81406e93f59e92b9b5cf93bf839e7884f;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index a764f43e..7355e183 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -1,18 +1,35 @@ -/* Reset macros used within TRACE_EVENT to "nothing" */ +/* + * lttng-events-reset.h + * + * Copyright (C) 2010-2012 Mathieu Desnoyers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; only + * version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ -#undef __field -#define __field(_type, _item) +/* Reset macros used within TRACE_EVENT to "nothing" */ -#undef __field_ext -#define __field_ext(_type, _item, _filter_type) +#undef __field_full +#define __field_full(_type, _item, _order, _base) -#undef __array -#define __array(_type, _item, _length) +#undef __array_enc_ext +#define __array_enc_ext(_type, _item, _length, _order, _base, _encoding) -#undef __dynamic_array -#define __dynamic_array(_type, _item, _length) +#undef __dynamic_array_enc_ext +#define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding) -#undef __dynamic_array +#undef __dynamic_array_len #define __dynamic_array_len(_type, _item, _length) #undef __string @@ -66,5 +83,14 @@ #undef DECLARE_EVENT_CLASS #define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) +#undef DECLARE_EVENT_CLASS_NOARGS +#define DECLARE_EVENT_CLASS_NOARGS(_name, _tstruct, _assign, _print) + #undef DEFINE_EVENT #define DEFINE_EVENT(_template, _name, _proto, _args) + +#undef DEFINE_EVENT_NOARGS +#define DEFINE_EVENT_NOARGS(_template, _name) + +#undef TRACE_EVENT_FLAGS +#define TRACE_EVENT_FLAGS(name, value)