fix: namespacing of 'tp_rcu_read_lock'
[lttng-ust.git] / tests / compile / hello-many / ust_tests_hello_many.h
index c5f82b6892de5daf92fdcc96736e466f8733d298..98cb603b4e678e2d6fb536fa11746b2298b71c7c 100644 (file)
-#undef TRACEPOINT_PROVIDER
-#define TRACEPOINT_PROVIDER ust_tests_hello_many
-
-#if !defined(_TRACEPOINT_UST_TESTS_HELLO_MANY_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
-#define _TRACEPOINT_UST_TESTS_HELLO_MANY_H
-
 /*
- * Copyright (C) 2011  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
+ * SPDX-License-Identifier: MIT
  *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
+ * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
+#undef LTTNG_UST_TRACEPOINT_PROVIDER
+#define LTTNG_UST_TRACEPOINT_PROVIDER ust_tests_hello_many
+
+#if !defined(_TRACEPOINT_UST_TESTS_HELLO_MANY_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
+#define _TRACEPOINT_UST_TESTS_HELLO_MANY_H
+
 #include <lttng/tracepoint.h>
 #include <stdbool.h>
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple1,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple1,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple2,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple2,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple3,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple3,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple4,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple4,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple5,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple5,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple6,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple6,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple7,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple7,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple8,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple8,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple9,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple9,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple10,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple10,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple11,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple11,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple12,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple12,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple13,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple13,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple14,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple14,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple15,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple15,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple16,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple16,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple17,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple17,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple18,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple18,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple19,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple19,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple20,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple20,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple21,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple21,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple22,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple22,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple23,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple23,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple24,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple24,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple25,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple25,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple26,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple26,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple27,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple27,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple28,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple28,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple29,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple29,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple30,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple30,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple31,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple31,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple32,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple32,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple33,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple33,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple34,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple34,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple35,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple35,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple36,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple36,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple37,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple37,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple38,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple38,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple39,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple39,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
-TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple40,
-       TP_ARGS(),
-       TP_FIELDS()
+LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple40,
+       LTTNG_UST_TP_ARGS(),
+       LTTNG_UST_TP_FIELDS()
 )
 
 #endif /* _TRACEPOINT_UST_TESTS_HELLO_MANY_H */
 
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_hello_many.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_hello_many.h"
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
This page took 0.030847 seconds and 4 git commands to generate.