Update to SPDX v3.0 identifiers
[lttng-modules.git] / probes / lttng-probe-statedump.c
index 5b05c2ffe92b910e6cab0a074c2e93acc16be418..cade847111481cc5cb16659545349ed983e635af 100644 (file)
@@ -1,11 +1,10 @@
-/*
- * probes/lttng-probe-statedump.c
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
  *
- * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * probes/lttng-probe-statedump.c
  *
  * LTTng statedump probes.
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
 #include <linux/module.h>
@@ -15,7 +14,9 @@
 #include <linux/ip.h>
 #include <linux/netdevice.h>
 #include <linux/inetdevice.h>
-#include "../lttng-events.h"
+#include <linux/sched.h>
+#include <lttng-events.h>
+#include <lttng-tracer.h>
 
 /*
  * Create LTTng tracepoint probes.
 #define LTTNG_PACKAGE_BUILD
 #define CREATE_TRACE_POINTS
 #define TP_SESSION_CHECK
-#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
+#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
 #define TRACE_INCLUDE_FILE lttng-statedump
 
-#include "../instrumentation/events/lttng-module/lttng-statedump.h"
+#include <instrumentation/events/lttng-module/lttng-statedump.h>
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
 MODULE_DESCRIPTION("LTTng statedump probes");
+MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
+       __stringify(LTTNG_MODULES_MINOR_VERSION) "."
+       __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
+       LTTNG_MODULES_EXTRAVERSION);
This page took 0.023158 seconds and 4 git commands to generate.