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