Commit | Line | Data |
---|---|---|
9f36eaed MJ |
1 | /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) |
2 | * | |
0ec73ddc MD |
3 | * probes/lttng-probe-signal.c |
4 | * | |
0ec73ddc MD |
5 | * LTTng signal probes. |
6 | * | |
886d51a3 | 7 | * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
0ec73ddc MD |
8 | */ |
9 | ||
10 | #include <linux/module.h> | |
156a3977 | 11 | #include <lttng-tracer.h> |
0ec73ddc MD |
12 | |
13 | /* | |
14 | * Create the tracepoint static inlines from the kernel to validate that our | |
15 | * trace event macros match the kernel we run on. | |
16 | */ | |
328ed554 | 17 | #include <trace/events/signal.h> |
0ec73ddc MD |
18 | |
19 | /* | |
20 | * Create LTTng tracepoint probes. | |
21 | */ | |
22 | #define LTTNG_PACKAGE_BUILD | |
23 | #define CREATE_TRACE_POINTS | |
156a3977 | 24 | #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module |
0ec73ddc | 25 | |
156a3977 | 26 | #include <instrumentation/events/lttng-module/signal.h> |
0ec73ddc MD |
27 | |
28 | MODULE_LICENSE("GPL and additional rights"); | |
29 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
30 | MODULE_DESCRIPTION("LTTng signal probes"); | |
13ab8b0a MD |
31 | MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." |
32 | __stringify(LTTNG_MODULES_MINOR_VERSION) "." | |
33 | __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) | |
34 | LTTNG_MODULES_EXTRAVERSION); |