8abde6dfb37bacf5d4dd8ffed4eced2a6a94c716
[lttng-modules.git] / probes / lttng-probe-timer.c
1 /*
2 * probes/lttng-probe-timer.c
3 *
4 * Copyright 2012 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
6 * LTTng timer probes.
7 *
8 * Dual LGPL v2.1/GPL v2 license.
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 <linux/sched.h>
18 #include <trace/events/timer.h>
19
20 /*
21 * Create LTTng tracepoint probes.
22 */
23 #define LTTNG_PACKAGE_BUILD
24 #define CREATE_TRACE_POINTS
25 #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
26
27 #include "../instrumentation/events/lttng-module/timer.h"
28
29 MODULE_LICENSE("GPL and additional rights");
30 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
31 MODULE_DESCRIPTION("LTTng timer probes");
This page took 0.029188 seconds and 3 git commands to generate.