fix: version range for overflow_callback
[lttng-modules.git] / probes / lttng-probe-sched.c
1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
2 *
3 * probes/lttng-probe-sched.c
4 *
5 * LTTng sched probes.
6 *
7 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 */
9
10 #include <linux/module.h>
11 #include <lttng-tracer.h>
12
13 /*
14 * Create the tracepoint static inlines from the kernel to validate that our
15 * trace event macros match the kernel we run on.
16 */
17 #include <trace/events/sched.h>
18
19 #include <wrapper/tracepoint.h>
20
21 /*
22 * Create LTTng tracepoint probes.
23 */
24 #define LTTNG_PACKAGE_BUILD
25 #define CREATE_TRACE_POINTS
26 #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
27
28 #include <instrumentation/events/lttng-module/sched.h>
29
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);
This page took 0.044112 seconds and 4 git commands to generate.