X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=44e8ba59b2456d5b8a3e1c9d841ce3ef694ccd5b;hb=fa7c32a4ef302e709f138e7307b6dbe5efd16e0d;hp=2dac9e614dbec70a8495861a90756a386696ebb9;hpb=6db3d13b849ff90922bd55fdaf047d746d79ba4a;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index 2dac9e61..44e8ba59 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -1,20 +1,61 @@ +/* + * 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 + */ + /* Reset macros used within TRACE_EVENT to "nothing" */ -#undef __field -#define __field(_type, _item) +#undef __field_full +#define __field_full(_type, _item, _order, _base) -#undef __field_ext -#define __field_ext(_type, _item, _filter_type) +#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_len +#define __dynamic_array_len(_type, _item, _length) #undef __string #define __string(_item, _src) +#undef tp_assign +#define tp_assign(dest, src) + +#undef tp_memcpy +#define tp_memcpy(dest, src, len) + +#undef tp_memcpy_dyn +#define tp_memcpy_dyn(dest, src, len) + +#undef tp_strcpy +#define tp_strcpy(dest, src) + +#undef __get_str +#define __get_str(field) + +#undef __get_dynamic_array +#define __get_dynamic_array(field) + +#undef __get_dynamic_array_len +#define __get_dynamic_array_len(field) + #undef TP_PROTO #define TP_PROTO(args...) @@ -27,11 +68,29 @@ #undef TP_fast_assign #define TP_fast_assign(args...) +#undef __perf_count +#define __perf_count(args...) + +#undef __perf_addr +#define __perf_addr(args...) + +#undef TP_perf_assign +#define TP_perf_assign(args...) + #undef TP_printk #define TP_printk(args...) #undef DECLARE_EVENT_CLASS #define DECLARE_EVENT_CLASS(_name, _proto, _args, _tstruct, _assign, _print) -#undef DEFINE_EVENT -#define DEFINE_EVENT(_template, _name, _proto, _args) +#undef DECLARE_EVENT_CLASS_NOARGS +#define DECLARE_EVENT_CLASS_NOARGS(_name, _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 TRACE_EVENT_FLAGS +#define TRACE_EVENT_FLAGS(name, value)