Commit | Line | Data |
---|---|---|
ae3dd5f0 MD |
1 | /* |
2 | * probes/lttng-probe-sched.c | |
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. | |
ae3dd5f0 MD |
9 | */ |
10 | ||
11 | #include <linux/module.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/syscalls.h> | |
18 | ||
19 | /* | |
20 | * Create LTTng tracepoint probes. | |
21 | */ | |
22 | #define LTTNG_PACKAGE_BUILD | |
23 | #define CREATE_TRACE_POINTS | |
24 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module | |
25 | ||
26 | #include "../instrumentation/events/lttng-module/syscalls.h" | |
27 | ||
28 | MODULE_LICENSE("GPL and additional rights"); | |
29 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
30 | MODULE_DESCRIPTION("LTTng sched probes"); |