Fix uninitialized return variable in error path for contexts
[lttng-modules.git] / probes / lttng-probe-sched.c
CommitLineData
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.
17baffe2
MD
7 *
8 * Dual LGPL v2.1/GPL v2 license.
6d61b34d
MD
9 */
10
11#include <linux/module.h>
12
f62b389e
MD
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 <trace/events/sched.h>
18
6d61b34d
MD
19/*
20 * Create LTTng tracepoint probes.
21 */
22#define LTTNG_PACKAGE_BUILD
23#define CREATE_TRACE_POINTS
f62b389e 24#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
6d61b34d 25
f62b389e 26#include "../instrumentation/events/lttng-module/sched.h"
6d61b34d
MD
27
28MODULE_LICENSE("GPL and additional rights");
29MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
30MODULE_DESCRIPTION("LTTng sched probes");
This page took 0.023716 seconds and 4 git commands to generate.