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. | |
7 | */ | |
8 | ||
9 | #include <linux/module.h> | |
10 | ||
f62b389e MD |
11 | /* |
12 | * Create the tracepoint static inlines from the kernel to validate that our | |
13 | * trace event macros match the kernel we run on. | |
14 | */ | |
15 | #include <trace/events/sched.h> | |
16 | ||
6d61b34d MD |
17 | /* |
18 | * Create LTTng tracepoint probes. | |
19 | */ | |
20 | #define LTTNG_PACKAGE_BUILD | |
21 | #define CREATE_TRACE_POINTS | |
f62b389e | 22 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module |
6d61b34d | 23 | |
f62b389e | 24 | #include "../instrumentation/events/lttng-module/sched.h" |
6d61b34d MD |
25 | |
26 | MODULE_LICENSE("GPL and additional rights"); | |
27 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
28 | MODULE_DESCRIPTION("LTTng sched probes"); |