X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=be400fa16a0efa3778215c7a6fdbf84461900ccb;hb=7ca580f8aca4f8c2b9e0066ad52ebfc226b3d645;hp=1ac6f76c5d496377c3338c9bbc93baad670b2561;hpb=c099397a53087b8c616a7feaef0c26d939b9662f;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index 1ac6f76c..be400fa1 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -1,21 +1,38 @@ -/* 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 __field_network -#define __field_network(_type, _item) +#undef __array_enc_ext +#define __array_enc_ext(_type, _item, _length, _order, _base, _encoding) -#undef __array -#define __array(_type, _item, _length) +#undef __dynamic_array_enc_ext +#define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding) -#undef __dynamic_array -#define __dynamic_array(_type, _item, _length) +#undef __dynamic_array_enc_ext_2 +#define __dynamic_array_enc_ext_2(_type, _item, _length1, _length2, _order, _base, _encoding) -#undef __dynamic_array +#undef __dynamic_array_len #define __dynamic_array_len(_type, _item, _length) #undef __string @@ -48,6 +65,12 @@ #undef TP_ARGS #define TP_ARGS(args...) +#undef TP_locvar +#define TP_locvar(...) + +#undef TP_code +#define TP_code(...) + #undef TP_STRUCT__entry #define TP_STRUCT__entry(args...) @@ -66,8 +89,17 @@ #undef TP_printk #define TP_printk(args...) -#undef DECLARE_EVENT_CLASS -#define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) +#undef LTTNG_DECLARE_EVENT_CLASS +#define LTTNG_DECLARE_EVENT_CLASS(_name, _proto, _args, _locvar, _code, _tstruct, _assign, _print) + +#undef LTTNG_DECLARE_EVENT_CLASS_NOARGS +#define LTTNG_DECLARE_EVENT_CLASS_NOARGS(_name, _locvar, _code, _tstruct, _assign, _print) + +#undef DEFINE_EVENT_MAP +#define DEFINE_EVENT_MAP(_template, _name, _map, _proto, _args) + +#undef DEFINE_EVENT_MAP_NOARGS +#define DEFINE_EVENT_MAP_NOARGS(_template, _name, _map) -#undef DEFINE_EVENT -#define DEFINE_EVENT(_template, _name, _proto, _args) +#undef TRACE_EVENT_FLAGS +#define TRACE_EVENT_FLAGS(name, value)