X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=5a4089d9dab505d33f37f14a61ffca5408701cc2;hb=c6485006a92b1b86fbb48c2b277732d3405295c9;hp=d3efc0c21db2a5b512f626cf45783cab3c75d915;hpb=e763dbf5b5b1db76b2ee59ca72b2e5034bc47663;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index d3efc0c2..5a4089d9 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -1,3 +1,11 @@ +/* + * lttng-events-reset.h + * + * Copyright (C) 2010-2011 Mathieu Desnoyers + * + * Dual LGPL v2.1/GPL v2 license. + */ + /* Reset macros used within TRACE_EVENT to "nothing" */ #undef __field @@ -6,6 +14,9 @@ #undef __field_ext #define __field_ext(_type, _item, _filter_type) +#undef __field_network +#define __field_network(_type, _item) + #undef __array #define __array(_type, _item, _length) @@ -51,6 +62,15 @@ #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...) @@ -59,3 +79,6 @@ #undef DEFINE_EVENT #define DEFINE_EVENT(_template, _name, _proto, _args) + +#undef TRACE_EVENT_FLAGS +#define TRACE_EVENT_FLAGS(name, value)