X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-sched.c;h=854595a37b1fe822e77ae4a2ae26e14e859c3414;hb=b53047135828b997a4eeb2cae7344cb169aa9c8c;hp=18c1521de1db03804d75593cf43527d3da93c40b;hpb=17baffe29814f2508556e498ab8c41a192e76b67;p=lttng-modules.git diff --git a/probes/lttng-probe-sched.c b/probes/lttng-probe-sched.c index 18c1521d..854595a3 100644 --- a/probes/lttng-probe-sched.c +++ b/probes/lttng-probe-sched.c @@ -1,14 +1,14 @@ -/* - * probes/lttng-probe-sched.c +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * - * Copyright 2010 (c) - Mathieu Desnoyers + * probes/lttng-probe-sched.c * * LTTng sched probes. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers */ #include +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -16,15 +16,21 @@ */ #include +#include + /* * Create LTTng tracepoint probes. */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module -#include "../instrumentation/events/lttng-module/sched.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng sched probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);