| 1 | /* |
| 2 | * probes/lttng-probe-irq.c |
| 3 | * |
| 4 | * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 5 | * |
| 6 | * LTTng irq probes. |
| 7 | */ |
| 8 | |
| 9 | #include <linux/module.h> |
| 10 | #include <linux/interrupt.h> |
| 11 | |
| 12 | /* |
| 13 | * Create the tracepoint static inlines from the kernel to validate that our |
| 14 | * trace event macros match the kernel we run on. |
| 15 | */ |
| 16 | #include <trace/events/irq.h> |
| 17 | |
| 18 | /* |
| 19 | * Create LTTng tracepoint probes. |
| 20 | */ |
| 21 | #define LTTNG_PACKAGE_BUILD |
| 22 | #define CREATE_TRACE_POINTS |
| 23 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module |
| 24 | |
| 25 | #include "../instrumentation/events/lttng-module/irq.h" |
| 26 | |
| 27 | MODULE_LICENSE("GPL and additional rights"); |
| 28 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); |
| 29 | MODULE_DESCRIPTION("LTTng irq probes"); |