Add support for model.emf.uri event info
[lttng-ust.git] / tests / demo / ust_tests_demo.h
index 1b761f9fffba8a5d53585a19683ce3aae6aa2ba2..680b0e699ac400fcd07d6e4e4b9719c6f9890021 100644 (file)
@@ -32,6 +32,13 @@ TRACEPOINT_EVENT(ust_tests_demo, starting,
 )
 TRACEPOINT_LOGLEVEL(ust_tests_demo, starting, TRACE_CRIT)
 
+/*
+ * 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,
+       "http://example.com/path_to_model?q=ust_tests_demo:starting")
+
 TRACEPOINT_EVENT(ust_tests_demo, done,
        TP_ARGS(int, value),
        TP_FIELDS(
@@ -40,6 +47,9 @@ TRACEPOINT_EVENT(ust_tests_demo, done,
 )
 TRACEPOINT_LOGLEVEL(ust_tests_demo, done, TRACE_CRIT)
 
+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 TRACEPOINT_INCLUDE_FILE
This page took 0.024513 seconds and 4 git commands to generate.