X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-tracepoint-event-reset.h;h=31a533d5dcff61d0d10e718eb499b81a15d98766;hb=f7f70ed72bb10703c55f812871100d86f1dc9b47;hp=43f186570639b1429c53df203a5ddecfe13b8a26;hpb=63ef26930fe613a266cc69f5089cf643dd59b012;p=lttng-ust.git diff --git a/include/lttng/ust-tracepoint-event-reset.h b/include/lttng/ust-tracepoint-event-reset.h index 43f18657..31a533d5 100644 --- a/include/lttng/ust-tracepoint-event-reset.h +++ b/include/lttng/ust-tracepoint-event-reset.h @@ -1,12 +1,30 @@ /* - * lttng/ust-tracepoint-events-reset.h + * Copyright (c) 2011 - Mathieu Desnoyers * - * Copyright (C) 2010-2011 Mathieu Desnoyers + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: * - * Dual LGPL v2.1/GPL v2 license. + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. */ -/* Reset macros used within TRACEPOINT_EVENT to "nothing" */ +/* Define to "nothing" all macros used for TRACEPOINT_EVENT */ + +#undef TRACEPOINT_EVENT_CLASS +#define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) + +#undef TRACEPOINT_EVENT_INSTANCE +#define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) + +#undef TP_ARGS +#define TP_ARGS(...) + +#undef TP_FIELDS +#define TP_FIELDS(...) #undef ctf_integer_ext #define ctf_integer_ext(_type, _item, _src, _byte_order, _base) @@ -24,14 +42,8 @@ #undef ctf_string #define ctf_string(_item, _src) -#undef TP_ARGS -#define TP_ARGS(args...) +#undef TRACEPOINT_LOGLEVEL_ENUM +#define TRACEPOINT_LOGLEVEL_ENUM(...) -#undef TP_FIELDS -#define TP_FIELDS(args...) - -#undef TRACEPOINT_EVENT_CLASS -#define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) - -#undef TRACEPOINT_EVENT_INSTANCE -#define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) +#undef TRACEPOINT_LOGLEVEL +#define TRACEPOINT_LOGLEVEL(provider, name, loglevel)