Fix: don't access packet header for stream_id and stream_instance_id getters
[lttng-modules.git] / probes / lttng-probe-signal.c
index 0de88bc812f4fe2bbd5bd3405af5f7ded59273cc..4772f2e9c7fd0697d0baf9839a86dea0742dae55 100644 (file)
@@ -1,30 +1,34 @@
-/*
- * probes/lttng-probe-signal.c
+/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
  *
- * Copyright 2012 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * probes/lttng-probe-signal.c
  *
  * LTTng signal probes.
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
 #include <linux/module.h>
+#include <lttng-tracer.h>
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
  * trace event macros match the kernel we run on.
  */
-#include <trace/events/irq.h>
+#include <trace/events/signal.h>
 
 /*
  * Create LTTng tracepoint probes.
  */
 #define LTTNG_PACKAGE_BUILD
 #define CREATE_TRACE_POINTS
-#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
+#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
 
-#include "../instrumentation/events/lttng-module/signal.h"
+#include <instrumentation/events/lttng-module/signal.h>
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
 MODULE_DESCRIPTION("LTTng signal 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.022853 seconds and 4 git commands to generate.