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-net.c |
4 | * | |
5 | * LTTng net 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> | |
156a3977 | 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/net.h> | |
19 | ||
20 | /* | |
21 | * Create LTTng tracepoint probes. | |
22 | */ | |
23 | #define LTTNG_PACKAGE_BUILD | |
24 | #define CREATE_TRACE_POINTS | |
156a3977 | 25 | #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module |
b283666f | 26 | |
156a3977 | 27 | #include <instrumentation/events/lttng-module/net.h> |
b283666f PW |
28 | |
29 | MODULE_LICENSE("GPL and additional rights"); | |
30 | MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com>"); | |
31 | MODULE_DESCRIPTION("LTTng net 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); |