X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=085b61cd769069cfba657318d9ab5dda26b57e25;hb=c782f1f3e8c799b7ba531ba940209014b66d4564;hp=3157f1e48dd9f8b3ce8cf5a32ae3b3b389049de1;hpb=d71e64719b9308db558e6b12a5266054e995ed15;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index 3157f1e4..085b61cd 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -1,9 +1,21 @@ /* * lttng-events-reset.h * - * Copyright (C) 2010-2011 Mathieu Desnoyers + * Copyright (C) 2010-2012 Mathieu Desnoyers * - * Dual LGPL v2.1/GPL v2 license. + * 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 */ /* Reset macros used within TRACE_EVENT to "nothing" */ @@ -17,6 +29,9 @@ #undef __dynamic_array_enc_ext #define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding) +#undef __dynamic_array_enc_ext_2 +#define __dynamic_array_enc_ext_2(_type, _item, _length1, _length2, _order, _base, _encoding) + #undef __dynamic_array_len #define __dynamic_array_len(_type, _item, _length) @@ -50,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...) @@ -68,11 +89,14 @@ #undef TP_printk #define TP_printk(args...) -#undef DECLARE_EVENT_CLASS -#define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) +#undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE +#define LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, _proto, _args, _locvar, _code, _tstruct, _assign, _print) + +#undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS +#define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code, _tstruct, _assign, _print) -#undef DEFINE_EVENT -#define DEFINE_EVENT(_template, _name, _proto, _args) +#undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP +#define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(_template, _name, _map, _proto, _args) -#undef TRACE_EVENT_FLAGS -#define TRACE_EVENT_FLAGS(name, value) +#undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS +#define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS(_template, _name, _map)