Namespace kernel version macros
[lttng-modules.git] / instrumentation / events / lttng-module / arch / x86 / irq_vectors.h
index 25b95febce218e7c32b1c7a512e145bf8fb8c8b4..7ec5add5eb174dc00d3b626d8a0859acad53ed04 100644 (file)
@@ -1,11 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #if !defined(LTTNG_TRACE_IRQ_VECTORS_H) || defined(TRACE_HEADER_MULTI_READ)
 #define LTTNG_TRACE_IRQ_VECTORS_H
 
-#include "../../../../../probes/lttng-tracepoint-event.h"
-#include <linux/version.h>
+#include <probes/lttng-tracepoint-event.h>
+#include <lttng-kernel-version.h>
 
 #undef TRACE_SYSTEM
-#define TRACE_SYSTEM irq_vectors
+#define TRACE_SYSTEM x86_irq_vectors
 
 LTTNG_TRACEPOINT_EVENT_CLASS(x86_irq_vectors_vector_class,
        TP_PROTO(int vector),
@@ -107,9 +108,9 @@ LTTNG_IRQ_VECTOR_TRACEPOINT_EVENT_INSTANCE_MAP(thermal_apic,
 #endif /* LTTNG_TRACE_IRQ_VECTORS_H */
 
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module/arch/x86
+#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module/arch/x86
 #undef TRACE_INCLUDE_FILE
 #define TRACE_INCLUDE_FILE irq_vectors
 
 /* This part must be outside protection */
-#include "../../../../../probes/define_trace.h"
+#include <probes/define_trace.h>
This page took 0.023695 seconds and 4 git commands to generate.