X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-statedump.c;h=7fbf388338bc26c91229a61988f18754b64871f0;hb=9eb15e8baa0dd2961b6a74aeeb9d23602fa5a149;hp=5b05c2ffe92b910e6cab0a074c2e93acc16be418;hpb=861df04fa95c6c5924a8abf4575164fa36a1beef;p=lttng-modules.git diff --git a/probes/lttng-probe-statedump.c b/probes/lttng-probe-statedump.c index 5b05c2ff..7fbf3883 100644 --- a/probes/lttng-probe-statedump.c +++ b/probes/lttng-probe-statedump.c @@ -1,11 +1,10 @@ -/* - * probes/lttng-probe-statedump.c +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) * - * Copyright 2010 (c) - Mathieu Desnoyers + * probes/lttng-probe-statedump.c * * LTTng statedump probes. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers */ #include @@ -15,7 +14,9 @@ #include #include #include -#include "../lttng-events.h" +#include +#include +#include /* * Create LTTng tracepoint probes. @@ -23,11 +24,15 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TP_SESSION_CHECK -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module #define TRACE_INCLUDE_FILE lttng-statedump -#include "../instrumentation/events/lttng-module/lttng-statedump.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng statedump probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);