X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=5a4089d9dab505d33f37f14a61ffca5408701cc2;hb=17baffe29814f2508556e498ab8c41a192e76b67;hp=c272aea9d7898930cea6ace809fe53cebeae0ece;hpb=d32a57a2d82d7d0a1d447e7052db9795bb0df2f1;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index c272aea9..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) @@ -18,6 +29,27 @@ #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...) @@ -30,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...) @@ -38,3 +79,6 @@ #undef DEFINE_EVENT #define DEFINE_EVENT(_template, _name, _proto, _args) + +#undef TRACE_EVENT_FLAGS +#define TRACE_EVENT_FLAGS(name, value)