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