X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fclock-override%2Flttng-ust-clock-override-test.c;h=a38cd515e217cfaee7cc55845f285790dd8067f2;hb=8d5a3312b34841f1ecba2605acad3eaca79fd5e4;hp=deaa16405511b3146d364f261c9c58fddacab193;hpb=199800b2c98035f82a87f675e6576ceb89017674;p=lttng-tools.git diff --git a/tests/regression/ust/clock-override/lttng-ust-clock-override-test.c b/tests/regression/ust/clock-override/lttng-ust-clock-override-test.c index deaa16405..a38cd515e 100644 --- a/tests/regression/ust/clock-override/lttng-ust-clock-override-test.c +++ b/tests/regression/ust/clock-override/lttng-ust-clock-override-test.c @@ -1,33 +1,20 @@ /* * lttng-clock-override-test.c * - * Copyright (c) 2014 Mathieu Desnoyers - * Copyright (c) 2015 Jonthan Rajotte - * Based on lttng-clock-override-example.c from LTTng-ust example + * Copyright (C) 2014 Mathieu Desnoyers + * Copyright (C) 2015 Jonthan Rajotte * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * SPDX-License-Identifier: MIT * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. + * Based on lttng-clock-override-example.c from LTTng-ust example * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. */ #include -#include +#include #include #include +#include #include static @@ -63,6 +50,7 @@ const char *plugin_description(void) return "Freeze time with 1KHz for regression test"; } +LTTNG_EXPORT void lttng_ust_clock_plugin_init(void); void lttng_ust_clock_plugin_init(void) { int ret;