X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-statedump.c;h=ea07697fd9d662359e8687bd33b6efbc54f2691f;hb=2df37e95fa4303ecc0db41334452665491533641;hp=328e8ed3bb42f714fca6dac72f792ced6879ad93;hpb=c337ddc219f608d4d35f461bdc9d2246324d6708;p=lttng-modules.git diff --git a/probes/lttng-probe-statedump.c b/probes/lttng-probe-statedump.c index 328e8ed3..ea07697f 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-only or LGPL-2.1-only) * - * 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);