Remove dead code from session daemon
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Sep 2015 17:08:50 +0000 (13:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Sep 2015 17:08:50 +0000 (13:08 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-metadata.c

index afcb89ddf351eef5386241997bf2ea28be4b9296..0f060c440a0fdb13e80a607c48df8600d582f12e 100644 (file)
@@ -371,23 +371,6 @@ int ust_metadata_event_statedump(struct ust_registry_session *session,
                        goto end;
        }
 
-#if 0 /* context for events not supported */
-       if (event->ctx) {
-               ret = lttng_metadata_printf(session,
-                       "       context := struct {\n");
-               if (ret)
-                       goto end;
-       }
-       ret = _lttng_context_metadata_statedump(session, event->ctx);
-       if (ret)
-               goto end;
-       if (event->ctx) {
-               ret = lttng_metadata_printf(session,
-                       "       };\n");
-               if (ret)
-                       goto end;
-       }
-#endif
        ret = lttng_metadata_printf(session,
                "       fields := struct {\n"
                );
This page took 0.026497 seconds and 5 git commands to generate.