X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fmulti-lib%2Fprobes.h;h=05bab2dd7c5963199cd8f12098e8e53c5b4c0bb5;hb=f46376a14da2eb796690cb4e718e8b213839d6ea;hp=31e6ec3b33e99ecf46c12295edd93410699b37b2;hpb=3f7f208a0150d93363cbf7755e890a9839114ab5;p=lttng-tools.git diff --git a/tests/regression/ust/multi-lib/probes.h b/tests/regression/ust/multi-lib/probes.h index 31e6ec3b3..05bab2dd7 100644 --- a/tests/regression/ust/multi-lib/probes.h +++ b/tests/regression/ust/multi-lib/probes.h @@ -1,18 +1,8 @@ /* - * Copyright (C) - 2018 Francis Deslauriers + * 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 */ #undef TRACEPOINT_PROVIDER @@ -53,6 +43,7 @@ TRACEPOINT_ENUM(multi, enum_a, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( + ctf_unused(arg) ctf_enum(multi, enum_a, int16_t, enum_short_C, 0) ctf_enum(multi, enum_a, int32_t, enum_int_C, 1) ctf_enum(multi, enum_a, uint64_t, enum_long_C, 2) @@ -69,7 +60,8 @@ TRACEPOINT_ENUM(multi, enum_a, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( - ctf_enum(multi, enum_a, int32_t, enum_int_D, 1) + ctf_unused(arg) + ctf_enum(multi, enum_a, int32_t, enum_int_D, 1) ctf_enum(multi, enum_a, int16_t, enum_short_D, 0) ctf_enum(multi, enum_a, uint64_t, enum_long_D, 2) ) @@ -138,6 +130,7 @@ TRACEPOINT_ENUM(multi, enum_a, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( + ctf_unused(arg) ctf_enum(multi, enum_a, int32_t, enum_int, 1) ) ) @@ -152,7 +145,8 @@ TRACEPOINT_ENUM(multi, enum_a, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( - ctf_enum(multi, enum_a, int64_t, enum_int, 1) + ctf_unused(arg) + ctf_enum(multi, enum_a, int64_t, enum_int, 1) ) ) #elif defined(ACTIVATE_PROBES_N) @@ -166,6 +160,7 @@ TRACEPOINT_ENUM(multi, enum_a, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( + ctf_unused(arg) ctf_enum(multi, enum_a, int16_t, enum_int, 1) ) ) @@ -173,6 +168,7 @@ TRACEPOINT_EVENT(multi, tp, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( + ctf_unused(arg) ctf_string(arg_string, "string") ) ) @@ -180,6 +176,7 @@ TRACEPOINT_EVENT(multi, tp, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( + ctf_unused(arg) ctf_string(my_arg_string, "string") ) ) @@ -187,6 +184,7 @@ TRACEPOINT_EVENT(multi, tp, TRACEPOINT_EVENT(multi, tp, TP_ARGS(uint64_t, arg), TP_FIELDS( + ctf_unused(arg) ) ) #endif