X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fmulti-lib%2Fcallsites.c;h=ed86a0ed975f5fbbc9db3e1e7b4a15c71a72001c;hp=4b61ac203c47b46cec3215c819ce214663a48f2e;hb=3f345083f4324ec038b70298b6a8571d13611590;hpb=3f7f208a0150d93363cbf7755e890a9839114ab5 diff --git a/tests/regression/ust/multi-lib/callsites.c b/tests/regression/ust/multi-lib/callsites.c index 4b61ac203..ed86a0ed9 100644 --- a/tests/regression/ust/multi-lib/callsites.c +++ b/tests/regression/ust/multi-lib/callsites.c @@ -1,18 +1,8 @@ /* * Copyright (C) - 2018 Francis Deslauriers * - * 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; version 2.1 of the License. + * SPDX-License-Identifier: LGPL-2.1-only * - * 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 */ #define TRACEPOINT_DEFINE @@ -24,11 +14,14 @@ #include #include +#include "callsites.h" + #ifndef VALUE #define VALUE (-1) #endif -void call_tracepoint(void) { +void call_tracepoint(void) +{ tracepoint(multi, tp, VALUE); }