X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=inline;f=src%2Fprobes%2Flttng-probe-9p.c;fp=src%2Fprobes%2Flttng-probe-9p.c;h=ec588e44df893fc8b918fcd721c322566d2e448d;hb=cfa6cc1d0f01c2cfcc1a679abf3a6572d411c309;hp=0000000000000000000000000000000000000000;hpb=cd4486798c2b046ea93b89439cd705e93c40b349;p=lttng-modules.git diff --git a/src/probes/lttng-probe-9p.c b/src/probes/lttng-probe-9p.c new file mode 100644 index 00000000..ec588e44 --- /dev/null +++ b/src/probes/lttng-probe-9p.c @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + * + * probes/lttng-probe-9p.c + * + * LTTng 9p probes. + * + * Copyright (C) 2010-2012 Mathieu Desnoyers + * Copyright (C) 2018 Michael Jeanson + */ + +#include +#include +#include +#include + +/* + * Create the tracepoint static inlines from the kernel to validate that our + * trace event macros match the kernel we run on. + */ +#include + +/* + * Create LTTng tracepoint probes. + */ +#define LTTNG_PACKAGE_BUILD +#define CREATE_TRACE_POINTS +#define TRACE_INCLUDE_PATH instrumentation/events + +#include + +MODULE_LICENSE("GPL and additional rights"); +MODULE_AUTHOR("Michael Jeanson "); +MODULE_DESCRIPTION("LTTng 9p probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);