Commit | Line | Data |
---|---|---|
9f36eaed MJ |
1 | /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) |
2 | * | |
6db3d13b | 3 | * probes/lttng-probe-sched.c |
6d61b34d | 4 | * |
6d61b34d | 5 | * LTTng sched probes. |
17baffe2 | 6 | * |
886d51a3 | 7 | * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
6d61b34d MD |
8 | */ |
9 | ||
10 | #include <linux/module.h> | |
156a3977 | 11 | #include <lttng-tracer.h> |
6d61b34d | 12 | |
f62b389e MD |
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 | ||
156a3977 | 19 | #include <wrapper/tracepoint.h> |
7c68b363 | 20 | |
6d61b34d MD |
21 | /* |
22 | * Create LTTng tracepoint probes. | |
23 | */ | |
24 | #define LTTNG_PACKAGE_BUILD | |
25 | #define CREATE_TRACE_POINTS | |
156a3977 | 26 | #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module |
6d61b34d | 27 | |
156a3977 | 28 | #include <instrumentation/events/lttng-module/sched.h> |
6d61b34d MD |
29 | |
30 | MODULE_LICENSE("GPL and additional rights"); | |
31 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
32 | MODULE_DESCRIPTION("LTTng sched probes"); | |
13ab8b0a MD |
33 | MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." |
34 | __stringify(LTTNG_MODULES_MINOR_VERSION) "." | |
35 | __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) | |
36 | LTTNG_MODULES_EXTRAVERSION); |