Commit | Line | Data |
---|---|---|
d32a57a2 MD |
1 | /* |
2 | * probes/lttng-probe-block.c | |
3 | * | |
4 | * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | * | |
6 | * LTTng block probes. | |
7 | */ | |
8 | ||
9 | #include <linux/module.h> | |
10 | #include <linux/blktrace_api.h> | |
11 | ||
f62b389e MD |
12 | /* |
13 | * Create the tracepoint static inlines from the kernel to validate that our | |
14 | * trace event macros match the kernel we run on. | |
15 | */ | |
16 | #include <trace/events/block.h> | |
17 | ||
d32a57a2 MD |
18 | /* |
19 | * Create LTTng tracepoint probes. | |
20 | */ | |
21 | #define LTTNG_PACKAGE_BUILD | |
22 | #define CREATE_TRACE_POINTS | |
f62b389e | 23 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module |
d32a57a2 | 24 | |
f62b389e | 25 | #include "../instrumentation/events/lttng-module/block.h" |
d32a57a2 MD |
26 | |
27 | MODULE_LICENSE("GPL and additional rights"); | |
28 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
29 | MODULE_DESCRIPTION("LTTng block probes"); |