Add support for model.emf.uri event info
[lttng-ust.git] / liblttng-ust / ltt-events.c
index ab099e1aba89afedb6a9456c0768509277500a8c..5d1475190d6ef82f49c418c52fa654ea2c070b29 100644 (file)
@@ -930,6 +930,14 @@ int _ltt_event_metadata_statedump(struct ltt_session *session,
        if (ret)
                goto end;
 
+       if (event->desc->u.ext.model_emf_uri) {
+               ret = lttng_metadata_printf(session,
+                       "       model.emf.uri = \"%s\";\n",
+                       *(event->desc->u.ext.model_emf_uri));
+               if (ret)
+                       goto end;
+       }
+
        if (event->ctx) {
                ret = lttng_metadata_printf(session,
                        "       context := struct {\n");
This page took 0.024294 seconds and 4 git commands to generate.