X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fcompile%2Fsame_line_tracepoint%2Fsame_line_tracepoint.c;h=2a59df814a98b59931cb92f72df122758865133e;hb=7f2f82c3b336458e815e9a4ed100d7084c9e7138;hp=60f8a75d96499f4cb1666798eed1b858778f281d;hpb=dbe6ade0ba17270b2cb119b9961bbb7e48ce4733;p=lttng-ust.git diff --git a/tests/compile/same_line_tracepoint/same_line_tracepoint.c b/tests/compile/same_line_tracepoint/same_line_tracepoint.c index 60f8a75d..2a59df81 100644 --- a/tests/compile/same_line_tracepoint/same_line_tracepoint.c +++ b/tests/compile/same_line_tracepoint/same_line_tracepoint.c @@ -1,26 +1,15 @@ -/* Copyright (C) 2013 Jérémie Galarneau +/* + * SPDX-License-Identifier: LGPL-2.1-or-later * - * 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; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 + * Copyright (C) 2013 Jérémie Galarneau */ #define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES #include "ust_tests_sameline.h" -int main() +int main(void) { - tracepoint(ust_tests_sameline, event1); tracepoint(ust_tests_sameline, event2); + lttng_ust_tracepoint(ust_tests_sameline, event1); lttng_ust_tracepoint(ust_tests_sameline, event2); return 0; }