From: Mathieu Desnoyers Date: Mon, 17 Jan 2011 05:06:07 +0000 (-0500) Subject: Support perf TP_*() macros, add missing interrupt.h include X-Git-Tag: v2.0-pre1~178 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=391286e81406e93f59e92b9b5cf93bf839e7884f;p=lttng-modules.git Support perf TP_*() macros, add missing interrupt.h include Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index d3efc0c2..a764f43e 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -51,6 +51,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...) diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c index e61fbb85..bf0ad12a 100644 --- a/probes/lttng-probe-irq.c +++ b/probes/lttng-probe-irq.c @@ -7,6 +7,7 @@ */ #include +#include /* * Create LTTng tracepoint probes.