1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
3 * probes/lttng-probe-x86-irq-vectors.c
5 * LTTng x86 irq vectors probes.
7 * Copyright (C) 2010-2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 #include <linux/module.h>
11 #include <lttng/tracer.h>
14 * Create the tracepoint static inlines from the kernel to validate that our
15 * trace event macros match the kernel we run on.
17 #include <asm/trace/irq_vectors.h>
19 #include <wrapper/tracepoint.h>
21 #undef TRACE_INCLUDE_PATH
22 #undef TRACE_INCLUDE_FILE
25 * Create LTTng tracepoint probes.
27 #define LTTNG_PACKAGE_BUILD
28 #define CREATE_TRACE_POINTS
29 #define TRACE_INCLUDE_PATH instrumentation/events/arch/x86
31 #include <instrumentation/events/arch/x86/irq_vectors.h>
33 MODULE_LICENSE("GPL and additional rights");
34 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
35 MODULE_DESCRIPTION("LTTng x86 irq vectors probes");
36 MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION
) "."
37 __stringify(LTTNG_MODULES_MINOR_VERSION
) "."
38 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION
)
39 LTTNG_MODULES_EXTRAVERSION
);