X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-statedump.c;h=7fbf388338bc26c91229a61988f18754b64871f0;hb=27e6eda75df97483d07d61ba731bbc428e2161f9;hp=328e8ed3bb42f714fca6dac72f792ced6879ad93;hpb=c337ddc219f608d4d35f461bdc9d2246324d6708;p=lttng-modules.git diff --git a/probes/lttng-probe-statedump.c b/probes/lttng-probe-statedump.c index 328e8ed3..7fbf3883 100644 --- a/probes/lttng-probe-statedump.c +++ b/probes/lttng-probe-statedump.c @@ -1,16 +1,22 @@ -/* - * 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 #include -#include "../lttng-events.h" +#include +#include +#include +#include +#include +#include +#include +#include /* * Create LTTng tracepoint probes. @@ -18,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);