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 | */ | |
705e0807 | 17 | #include <trace/events/syscalls.h> |
ae3dd5f0 MD |
18 | |
19 | /* | |
20 | * Create LTTng tracepoint probes. | |
21 | */ | |
22 | #define LTTNG_PACKAGE_BUILD | |
23 | #define CREATE_TRACE_POINTS | |
d5869321 MD |
24 | //test #define TRACE_INCLUDE_PATH ../instrumentation/syscalls/headers |
25 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module | |
ae3dd5f0 | 26 | |
705e0807 | 27 | //test #include "../instrumentation/syscalls/headers/syscalls.h" |
d5869321 | 28 | #include "../instrumentation/events/lttng-module/syscalls.h" |
ae3dd5f0 MD |
29 | |
30 | MODULE_LICENSE("GPL and additional rights"); | |
31 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
32 | MODULE_DESCRIPTION("LTTng sched probes"); |