2 * probes/lttng-probe-block.c
4 * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Dual LGPL v2.1/GPL v2 license.
11 #include <linux/module.h>
12 #include <linux/blktrace_api.h>
15 * Create the tracepoint static inlines from the kernel to validate that our
16 * trace event macros match the kernel we run on.
18 #include <trace/events/block.h>
21 * Create LTTng tracepoint probes.
23 #define LTTNG_PACKAGE_BUILD
24 #define CREATE_TRACE_POINTS
25 #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
27 #include "../instrumentation/events/lttng-module/block.h"
29 MODULE_LICENSE("GPL and additional rights");
30 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
31 MODULE_DESCRIPTION("LTTng block probes");