| 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
| 2 | * |
| 3 | * probes/lttng-probe-signal.c |
| 4 | * |
| 5 | * LTTng signal probes. |
| 6 | * |
| 7 | * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 8 | */ |
| 9 | |
| 10 | #include <linux/module.h> |
| 11 | #include <lttng/tracer.h> |
| 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 | */ |
| 17 | #include <trace/events/signal.h> |
| 18 | |
| 19 | /* |
| 20 | * Create LTTng tracepoint probes. |
| 21 | */ |
| 22 | #define LTTNG_PACKAGE_BUILD |
| 23 | #define CREATE_TRACE_POINTS |
| 24 | #define TRACE_INCLUDE_PATH instrumentation/events |
| 25 | |
| 26 | #include <instrumentation/events/signal.h> |
| 27 | |
| 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); |