Commit | Line | Data |
---|---|---|
6d61b34d | 1 | /* |
6db3d13b | 2 | * probes/lttng-probe-sched.c |
6d61b34d MD |
3 | * |
4 | * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | * | |
6 | * LTTng sched probes. | |
17baffe2 MD |
7 | * |
8 | * Dual LGPL v2.1/GPL v2 license. | |
6d61b34d MD |
9 | */ |
10 | ||
11 | #include <linux/module.h> | |
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 | ||
6d61b34d MD |
19 | /* |
20 | * Create LTTng tracepoint probes. | |
21 | */ | |
22 | #define LTTNG_PACKAGE_BUILD | |
23 | #define CREATE_TRACE_POINTS | |
f62b389e | 24 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module |
6d61b34d | 25 | |
f62b389e | 26 | #include "../instrumentation/events/lttng-module/sched.h" |
6d61b34d MD |
27 | |
28 | MODULE_LICENSE("GPL and additional rights"); | |
29 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
30 | MODULE_DESCRIPTION("LTTng sched probes"); |