#undef TRACEPOINT_PROVIDER
#define TRACEPOINT_PROVIDER gydle_om
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "tracepoint-provider.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "tracepoint-provider.h"
#if !defined(MY_TRACEPOINT_PROVIDER_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
#define MY_TRACEPOINT_PROVIDER_H
#endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_demo.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_TESTS_DEMO2_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_demo2.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_demo2.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_TESTS_DEMO3_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_demo3.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_demo3.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
/*
* include file (this files's name)
*/
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./sample_component_provider.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./sample_component_provider.h"
/*
* Add this precompiler conditionals to ensure the tracepoint event generation
#endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_hello.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_hello.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#define TRACEPOINT_HEADER_MULTI_READ
#endif
-#include TRACEPOINT_INCLUDE
+#if LTTNG_UST_COMPAT_API(0)
+# if defined(TRACEPOINT_INCLUDE) && !defined(LTTNG_UST_TRACEPOINT_INCLUDE)
+# define LTTNG_UST_TRACEPOINT_INCLUDE TRACEPOINT_INCLUDE
+# endif
+#endif /* #if LTTNG_UST_COMPAT_API(0) */
+
+#include LTTNG_UST_TRACEPOINT_INCLUDE
#include <lttng/ust-tracepoint-event.h>
#undef TRACEPOINT_HEADER_MULTI_READ
#endif
-#undef TRACEPOINT_INCLUDE
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#if LTTNG_UST_COMPAT_API(0)
+# undef TRACEPOINT_INCLUDE
+#endif
#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
static inline
void LTTNG_UST__TP_COMBINE_TOKENS(lttng_ust_tracepoint_provider_check_, TRACEPOINT_PROVIDER)(void)
{
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
}
/*
#define LTTNG_UST__TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \
lttng_ust_tracepoint_validate_name_len(_provider, _name);
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 0.2 of tracepoint event generation.
#define LTTNG_UST__TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
void __event_template_proto___##_provider##___##_name(LTTNG_UST__TP_ARGS_DATA_PROTO(_args));
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 0.9 of tracepoint event generation
_values \
ctf_enum_value("", 0) /* Dummy, 0-len array forbidden by C99. */ \
};
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 0.9.1
#define LTTNG_UST__TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
_fields
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 1 of tracepoint event generation.
.nr_entries = _TP_ARRAY_SIZE(__enum_values__##_provider##_##_name) - 1, \
};
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 2 of tracepoint event generation.
#define LTTNG_UST__TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
static void __event_probe__##_provider##___##_name(LTTNG_UST__TP_ARGS_DATA_PROTO(_args));
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 3.0 of tracepoint event generation.
return __event_len; \
}
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 3.1 of tracepoint event generation.
_fields \
}
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 4 of tracepoint event generation.
return __event_align; \
}
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
} \
}
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
#undef __get_dynamic_len
static const char __tp_event_signature___##_provider##___##_name[] = \
_TP_EXTRACT_STRING2(_args);
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
#undef _TP_EXTRACT_STRING2
__attribute__((visibility("hidden"))) = \
&_loglevel_value___##__provider##___##__name;
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
#undef LTTNG_UST_TP_EXTERN_C
LTTNG_UST_TP_EXTERN_C const char * const _model_emf_uri___##__provider##___##__name \
__attribute__((visibility("hidden"))) = __uri; \
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
#undef LTTNG_UST_TP_EXTERN_C
.model_emf_uri = &__ref_model_emf_uri___##_provider##___##_name, \
};
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
/*
* Stage 7.2 of tracepoint event generation.
&__event_desc___##_provider##_##_name,
static const struct lttng_ust_event_desc * const LTTNG_UST__TP_COMBINE_TOKENS(__event_desc___, TRACEPOINT_PROVIDER)[] = {
-#include TRACEPOINT_INCLUDE
+#include LTTNG_UST_TRACEPOINT_INCLUDE
NULL, /* Dummy, C99 forbids 0-len array. */
};
#endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile-fast.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile-fast.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_DL_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_dl.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_dl.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_JUL_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng_ust_jul.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng_ust_jul.h"
/* This part must be outside protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_LOG4J_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng_ust_log4j.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng_ust_log4j.h"
/* This part must be outside protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_JAVA_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng_ust_java.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng_ust_java.h"
/* This part must be outside protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_LIBC_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_libc.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_libc.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_PTHREAD_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_pthread.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_pthread.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_PYTHON_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng_ust_python.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng_ust_python.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_STATEDUMP_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng-ust-statedump-provider.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-statedump-provider.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_TRACEF_PROVIDER_H */
#define TP_IP_PARAM ip /* IP context received as parameter */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./tp/lttng-ust-tracef.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./tp/lttng-ust-tracef.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_LTTNG_UST_TRACEF_PROVIDER_H */
#define TP_IP_PARAM ip /* IP context received as parameter */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./tp/lttng-ust-tracelog.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./tp/lttng-ust-tracelog.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_LIB_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_lib.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_lib.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_TESTS_BENCHMARK_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_benchmark.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_benchmark.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.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>
#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>
#endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_hello.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_hello.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_hello.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_hello.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_TESTS_SAMELINE_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_sameline.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_sameline.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_tests_hello.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_hello.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#undef TRACEPOINT_PROVIDER
#define TRACEPOINT_PROVIDER {providerName}
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./{headerFilename}"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./{headerFilename}"
#if !defined({includeGuard}) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
#define {includeGuard}