Fix uninitialized return variable in error path for contexts
[lttng-modules.git] / probes / lttng-probe-block.c
CommitLineData
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.
17baffe2
MD
7 *
8 * Dual LGPL v2.1/GPL v2 license.
d32a57a2
MD
9 */
10
11#include <linux/module.h>
12#include <linux/blktrace_api.h>
13
f62b389e
MD
14/*
15 * Create the tracepoint static inlines from the kernel to validate that our
16 * trace event macros match the kernel we run on.
17 */
18#include <trace/events/block.h>
19
d32a57a2
MD
20/*
21 * Create LTTng tracepoint probes.
22 */
23#define LTTNG_PACKAGE_BUILD
24#define CREATE_TRACE_POINTS
f62b389e 25#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
d32a57a2 26
f62b389e 27#include "../instrumentation/events/lttng-module/block.h"
d32a57a2
MD
28
29MODULE_LICENSE("GPL and additional rights");
30MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
31MODULE_DESCRIPTION("LTTng block probes");
This page took 0.042703 seconds and 4 git commands to generate.