Implement state dump
[lttng-modules.git] / wrapper / irqdesc.h
diff --git a/wrapper/irqdesc.h b/wrapper/irqdesc.h
new file mode 100644 (file)
index 0000000..4670fc6
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef _LTTNG_WRAPPER_IRQDESC_H
+#define _LTTNG_WRAPPER_IRQDESC_H
+
+/*
+ * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
+ *
+ * wrapper around irq_to_desc. Using KALLSYMS to get its address when
+ * available, else we need to have a kernel that exports this function to GPL
+ * modules.
+ *
+ * Dual LGPL v2.1/GPL v2 license.
+ */
+
+#include <linux/interrupt.h>
+#include <linux/irqnr.h>
+
+struct irq_desc *wrapper_irq_to_desc(unsigned int irq);
+
+#endif /* _LTTNG_WRAPPER_IRQDESC_H */
This page took 0.022571 seconds and 4 git commands to generate.