Add lttng irq probe support
[lttng-modules.git] / probes / lttng-probe-irq.c
diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c
new file mode 100644 (file)
index 0000000..e61fbb8
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * probes/lttng-probe-irq.c
+ *
+ * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * LTTng irq probes.
+ */
+
+#include <linux/module.h>
+
+/*
+ * Create LTTng tracepoint probes.
+ */
+#define LTTNG_PACKAGE_BUILD
+#define CREATE_TRACE_POINTS
+#undef CONFIG_EVENT_TRACING    /* Don't create Ftrace probes */
+
+#include <trace/events/irq.h>
+
+MODULE_LICENSE("GPL and additional rights");
+MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
+MODULE_DESCRIPTION("LTTng irq probes");
This page took 0.023229 seconds and 4 git commands to generate.