X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-timer.c;h=b5ef884b1a0fb7677dd69b945c911f9a3566b17c;hb=2df37e95fa4303ecc0db41334452665491533641;hp=8abde6dfb37bacf5d4dd8ffed4eced2a6a94c716;hpb=e54456f5bc70a46e11d23e1e3b2ae70bcda4c49f;p=lttng-modules.git diff --git a/probes/lttng-probe-timer.c b/probes/lttng-probe-timer.c index 8abde6df..b5ef884b 100644 --- a/probes/lttng-probe-timer.c +++ b/probes/lttng-probe-timer.c @@ -1,31 +1,38 @@ -/* - * probes/lttng-probe-timer.c +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * - * Copyright 2012 (c) - Mathieu Desnoyers + * probes/lttng-probe-timer.c * * LTTng timer probes. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2012 Mathieu Desnoyers */ #include +#include /* * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ + #include #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/timer.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng timer probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);