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