1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
3 * probes/lttng-probe-sched.c
7 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 #include <linux/module.h>
11 #include <lttng-tracer.h>
14 * Create the tracepoint static inlines from the kernel to validate that our
15 * trace event macros match the kernel we run on.
17 #include <trace/events/sched.h>
19 #include <wrapper/tracepoint.h>
22 * Create LTTng tracepoint probes.
24 #define LTTNG_PACKAGE_BUILD
25 #define CREATE_TRACE_POINTS
26 #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
28 #include <instrumentation/events/lttng-module/sched.h>
30 MODULE_LICENSE("GPL and additional rights");
31 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
32 MODULE_DESCRIPTION("LTTng sched probes");
33 MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION
) "."
34 __stringify(LTTNG_MODULES_MINOR_VERSION
) "."
35 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION
)
36 LTTNG_MODULES_EXTRAVERSION
);