X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fclock-plugin%2Flttng-clock-plugin-test.c;h=6c4213bdc01a783a171cb5a1ca3a257e66aeeb76;hb=4140ad5d31731fbfc179fbcf0221322cfeba6461;hp=55facb77755ba5b581f95f403ba2ee154b60e1f4;hpb=de0203beb7ef2190783411947f19ef1c86d5d3fb;p=lttng-modules.git diff --git a/tests/clock-plugin/lttng-clock-plugin-test.c b/tests/clock-plugin/lttng-clock-plugin-test.c index 55facb77..6c4213bd 100644 --- a/tests/clock-plugin/lttng-clock-plugin-test.c +++ b/tests/clock-plugin/lttng-clock-plugin-test.c @@ -1,21 +1,8 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + * * lttng-clock-plugin-test.c * * Copyright (C) 2014, 2016 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -23,7 +10,8 @@ #include #include -#include /* From lttng-modules */ +#include +#include /* From lttng-modules */ static u64 trace_clock_read64_example(void) { @@ -79,3 +67,7 @@ module_exit(lttng_clock_plugin_exit); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng Clock Plugin Example"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);