/*
- * Copyright (C) - 2018 Francis Deslauriers <francis.deslauriers@efficios.com>
+ * Copyright (C) 2018 Francis Deslauriers <francis.deslauriers@efficios.com>
*
- * 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
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)
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)
)
TRACEPOINT_EVENT(multi, tp,
TP_ARGS(uint64_t, arg),
TP_FIELDS(
+ ctf_unused(arg)
ctf_enum(multi, enum_a, int32_t, enum_int, 1)
)
)
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)
TRACEPOINT_EVENT(multi, tp,
TP_ARGS(uint64_t, arg),
TP_FIELDS(
+ ctf_unused(arg)
ctf_enum(multi, enum_a, int16_t, enum_int, 1)
)
)
TRACEPOINT_EVENT(multi, tp,
TP_ARGS(uint64_t, arg),
TP_FIELDS(
+ ctf_unused(arg)
ctf_string(arg_string, "string")
)
)
TRACEPOINT_EVENT(multi, tp,
TP_ARGS(uint64_t, arg),
TP_FIELDS(
+ ctf_unused(arg)
ctf_string(my_arg_string, "string")
)
)
TRACEPOINT_EVENT(multi, tp,
TP_ARGS(uint64_t, arg),
TP_FIELDS(
+ ctf_unused(arg)
)
)
#endif