X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-block.c;h=eceed5df5cc8586330bba2d67046914dc52361be;hb=2df37e95fa4303ecc0db41334452665491533641;hp=9eeebfc3a60020de867dfe857b56ede291277172;hpb=17baffe29814f2508556e498ab8c41a192e76b67;p=lttng-modules.git diff --git a/probes/lttng-probe-block.c b/probes/lttng-probe-block.c index 9eeebfc3..eceed5df 100644 --- a/probes/lttng-probe-block.c +++ b/probes/lttng-probe-block.c @@ -1,15 +1,16 @@ -/* - * probes/lttng-probe-block.c +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * - * Copyright 2010 (c) - Mathieu Desnoyers + * probes/lttng-probe-block.c * * LTTng block probes. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers */ #include #include +#include +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -17,15 +18,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/block.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng block probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);