projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint API namespacing 'TRACEPOINT_PROVIDER'
[lttng-ust.git]
/
tests
/
compile
/
ctf-types
/
ust_tests_ctf_types.h
diff --git
a/tests/compile/ctf-types/ust_tests_ctf_types.h
b/tests/compile/ctf-types/ust_tests_ctf_types.h
index c9f667b84f0129b9c1fe3e09837ee922aa4cd8f0..630d0d4ecc302346e289e637d7e1c701125f62f8 100644
(file)
--- a/
tests/compile/ctf-types/ust_tests_ctf_types.h
+++ b/
tests/compile/ctf-types/ust_tests_ctf_types.h
@@
-4,15
+4,15
@@
* Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
*/
* Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
*/
-#undef TRACEPOINT_PROVIDER
-#define TRACEPOINT_PROVIDER ust_tests_ctf_types
+#undef
LTTNG_UST_
TRACEPOINT_PROVIDER
+#define
LTTNG_UST_
TRACEPOINT_PROVIDER ust_tests_ctf_types
-#if !defined(_TRACEPOINT_UST_TESTS_CTF_TYPES_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
+#if !defined(_TRACEPOINT_UST_TESTS_CTF_TYPES_H) || defined(
LTTNG_UST_
TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_UST_TESTS_CTF_TYPES_H
#include <lttng/tracepoint.h>
#define _TRACEPOINT_UST_TESTS_CTF_TYPES_H
#include <lttng/tracepoint.h>
-TRACEPOINT_ENUM(ust_tests_ctf_types, testenum,
+
LTTNG_UST_
TRACEPOINT_ENUM(ust_tests_ctf_types, testenum,
TP_ENUM_VALUES(
ctf_enum_value("even", 0)
ctf_enum_value("uneven", 1)
TP_ENUM_VALUES(
ctf_enum_value("even", 0)
ctf_enum_value("uneven", 1)
@@
-21,7
+21,7
@@
TRACEPOINT_ENUM(ust_tests_ctf_types, testenum,
)
)
)
)
-TRACEPOINT_ENUM(ust_tests_ctf_types, testenum2,
+
LTTNG_UST_
TRACEPOINT_ENUM(ust_tests_ctf_types, testenum2,
TP_ENUM_VALUES(
ctf_enum_value("zero", 0)
ctf_enum_value("five", 5)
TP_ENUM_VALUES(
ctf_enum_value("zero", 0)
ctf_enum_value("five", 5)
@@
-33,7
+33,7
@@
TRACEPOINT_ENUM(ust_tests_ctf_types, testenum2,
* Enumeration field is used twice to make sure the type declaration
* is entered only once in the metadata file.
*/
* Enumeration field is used twice to make sure the type declaration
* is entered only once in the metadata file.
*/
-TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
+
LTTNG_UST_
TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
LTTNG_UST_TP_ARGS(int, anint, int, enumval, int, enumval2),
LTTNG_UST_TP_FIELDS(
ctf_integer(int, intfield, anint)
LTTNG_UST_TP_ARGS(int, anint, int, enumval, int, enumval2),
LTTNG_UST_TP_FIELDS(
ctf_integer(int, intfield, anint)
@@
-49,7
+49,7
@@
TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
* Another tracepoint using the types to make sure each type is entered
* only once in the metadata file.
*/
* Another tracepoint using the types to make sure each type is entered
* only once in the metadata file.
*/
-TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
+
LTTNG_UST_
TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
LTTNG_UST_TP_ARGS(int, anint, int, enumval),
LTTNG_UST_TP_FIELDS(
ctf_integer(int, intfield, anint)
LTTNG_UST_TP_ARGS(int, anint, int, enumval),
LTTNG_UST_TP_FIELDS(
ctf_integer(int, intfield, anint)
@@
-60,8
+60,8
@@
TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
#endif /* _TRACEPOINT_UST_TESTS_CTF_TYPES_H */
#endif /* _TRACEPOINT_UST_TESTS_CTF_TYPES_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_ctf_types.h"
+#undef
LTTNG_UST_
TRACEPOINT_INCLUDE
+#define
LTTNG_UST_
TRACEPOINT_INCLUDE "./ust_tests_ctf_types.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
This page took
0.028829 seconds
and
4
git commands to generate.