Support perf TP_*() macros, add missing interrupt.h include
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 17 Jan 2011 05:06:07 +0000 (00:06 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 17 Jan 2011 05:06:07 +0000 (00:06 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng-events-reset.h
probes/lttng-probe-irq.c

index d3efc0c21db2a5b512f626cf45783cab3c75d915..a764f43e960f6c1a7446f9d0f85aa4b61b81b43a 100644 (file)
 #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...)
 
index e61fbb8514131fc10829d07cd0b26e76a0edf851..bf0ad12aedb951d3a49765e6caace40de641cf50 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/interrupt.h>
 
 /*
  * Create LTTng tracepoint probes.
This page took 0.028139 seconds and 4 git commands to generate.