X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-nevents-str%2Ftp.h;h=3a4054a84cfd5a45cfeee7feeee8fa21dc6022b6;hb=f65ab3f72378bd72dd992688a21e3eb39330b2cd;hp=9f9ab95b5b79a9c54a7187b3955f1f756482830e;hpb=5400d18f909dbcf6cb8c794cdd33d0c2213fda18;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-nevents-str/tp.h b/tests/utils/testapp/gen-ust-nevents-str/tp.h index 9f9ab95b5..3a4054a84 100644 --- a/tests/utils/testapp/gen-ust-nevents-str/tp.h +++ b/tests/utils/testapp/gen-ust-nevents-str/tp.h @@ -5,41 +5,24 @@ #define _TRACEPOINT_TP_H /* - * Copyright (C) - 2017 Philippe Proulx + * Copyright (C) 2017 Philippe Proulx * - * 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 */ #include -TRACEPOINT_EVENT(tp, the_string, - TP_ARGS( - int, i, - int, arg_i, - const char *, str - ), - TP_FIELDS( - ctf_integer(int, i, i) - ctf_integer(long, arg_i, arg_i) - ctf_string(str, str) - ) -) +TRACEPOINT_EVENT(tp, + the_string, + TP_ARGS(int, i, int, arg_i, const char *, str), + TP_FIELDS(ctf_integer(int, i, i) ctf_integer(long, arg_i, arg_i) + ctf_string(str, str))) #endif /* _TRACEPOINT_TP_H */ -#undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE ./tp.h +#undef TRACEPOINT_INCLUDE +#define TRACEPOINT_INCLUDE "./tp.h" /* This part must be outside ifdef protection */ #include