2 * probes/lttng-probe-9p.c
6 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 * Copyright (C) 2018 Michael Jeanson <mjeanson@efficios.com>
9 * SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
12 #include <linux/module.h>
13 #include <net/9p/9p.h>
14 #include <net/9p/client.h>
15 #include <lttng-tracer.h>
18 * Create the tracepoint static inlines from the kernel to validate that our
19 * trace event macros match the kernel we run on.
21 #include <trace/events/9p.h>
24 * Create LTTng tracepoint probes.
26 #define LTTNG_PACKAGE_BUILD
27 #define CREATE_TRACE_POINTS
28 #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
30 #include <instrumentation/events/lttng-module/9p.h>
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
);