1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
3 * probes/lttng-probe-signal.c
7 * Copyright (C) 2010-2012 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 <trace/events/signal.h>
20 * Create LTTng tracepoint probes.
22 #define LTTNG_PACKAGE_BUILD
23 #define CREATE_TRACE_POINTS
24 #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
26 #include <instrumentation/events/lttng-module/signal.h>
28 MODULE_LICENSE("GPL and additional rights");
29 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
30 MODULE_DESCRIPTION("LTTng signal probes");
31 MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION
) "."
32 __stringify(LTTNG_MODULES_MINOR_VERSION
) "."
33 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION
)
34 LTTNG_MODULES_EXTRAVERSION
);