X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Flttng-live%2Fmetadata.cpp;h=46a1151185f4fbff9437b55d49c0daf130a2ae77;hb=5656cea5531432357cf7ca2a0be14adae5a1e3d3;hp=e83e4b6fb18e021e8595a6ab2c94cbbffa52ca31;hpb=44bd6303b927d7fedde8862b907880ce18e71913;p=babeltrace.git diff --git a/src/plugins/ctf/lttng-live/metadata.cpp b/src/plugins/ctf/lttng-live/metadata.cpp index e83e4b6f..46a11511 100644 --- a/src/plugins/ctf/lttng-live/metadata.cpp +++ b/src/plugins/ctf/lttng-live/metadata.cpp @@ -6,22 +6,24 @@ * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation */ +#include +#include +#include +#include + +#include + #define BT_COMP_LOG_SELF_COMP self_comp #define BT_LOG_OUTPUT_LEVEL log_level #define BT_LOG_TAG "PLUGIN/SRC.CTF.LTTNG-LIVE/META" #include "logging/comp-logging.h" -#include -#include -#include -#include -#include #include "compat/memstream.h" -#include +#include "../common/src/metadata/tsdl/ctf-meta-configure-ir-trace.hpp" +#include "../common/src/metadata/tsdl/decoder.hpp" +#include "lttng-live.hpp" #include "metadata.hpp" -#include "../common/metadata/decoder.hpp" -#include "../common/metadata/ctf-meta-configure-ir-trace.hpp" #define TSDL_MAGIC 0x75d11d57 @@ -211,7 +213,7 @@ enum lttng_live_iterator_status lttng_live_metadata_update(struct lttng_live_tra goto end; } - /* The relay sent zero bytes of metdata. */ + /* The relay sent zero bytes of metadata. */ trace->metadata_stream_state = LTTNG_LIVE_METADATA_STREAM_STATE_NOT_NEEDED; goto end; } @@ -262,7 +264,7 @@ enum lttng_live_iterator_status lttng_live_metadata_update(struct lttng_live_tra trace->clock_class = borrow_any_clock_class(trace->trace_class); } - /* The metadata was updated succesfully. */ + /* The metadata was updated successfully. */ trace->metadata_stream_state = LTTNG_LIVE_METADATA_STREAM_STATE_NOT_NEEDED; break;