* Dummy model information, just for example. TODO: we should check if
* EMF model URI have some standard format we should follow.
*/
-TRACEPOINT_MODEL_EMF_URI(ust_tests_demo, starting,
+LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(ust_tests_demo, starting,
"http://example.com/path_to_model?q=ust_tests_demo:starting")
LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo, done,
)
LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo, done, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT)
-TRACEPOINT_MODEL_EMF_URI(ust_tests_demo, done,
+LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(ust_tests_demo, done,
"http://example.com/path_to_model?q=ust_tests_demo:done")
#endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
#undef LTTNG_UST_TRACEPOINT_LOGLEVEL
#define LTTNG_UST_TRACEPOINT_LOGLEVEL(provider, name, loglevel)
-#undef TRACEPOINT_MODEL_EMF_URI
-#define TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
+#undef LTTNG_UST_TRACEPOINT_MODEL_EMF_URI
+#define LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
#endif /* TRACEPOINT_CREATE_PROBES */
#endif /* #ifndef LTTNG_UST_TRACEPOINT_LOGLEVEL */
-#ifndef TRACEPOINT_MODEL_EMF_URI
+#ifndef LTTNG_UST_TRACEPOINT_MODEL_EMF_URI
-#define TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
+#define LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
-#endif /* #ifndef TRACEPOINT_MODEL_EMF_URI */
+#if LTTNG_UST_COMPAT_API(0)
+#define TRACEPOINT_MODEL_EMF_URI LTTNG_UST_TRACEPOINT_MODEL_EMF_URI
+#endif
+
+#endif /* #ifndef LTTNG_UST_TRACEPOINT_MODEL_EMF_URI */
#undef LTTNG_UST_TRACEPOINT_LOGLEVEL
#define LTTNG_UST_TRACEPOINT_LOGLEVEL(provider, name, loglevel)
-#undef TRACEPOINT_MODEL_EMF_URI
-#define TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
+#undef LTTNG_UST_TRACEPOINT_MODEL_EMF_URI
+#define LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
#undef _ctf_integer_ext
#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \
#define LTTNG_UST_TP_EXTERN_C
#endif
-#undef TRACEPOINT_MODEL_EMF_URI
-#define TRACEPOINT_MODEL_EMF_URI(__provider, __name, __uri) \
+#undef LTTNG_UST_TRACEPOINT_MODEL_EMF_URI
+#define LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(__provider, __name, __uri) \
LTTNG_UST_TP_EXTERN_C const char * const _model_emf_uri___##__provider##___##__name \
__attribute__((visibility("hidden"))) = __uri; \