X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Flttng-live%2Fdata-stream.c;h=aba9c807659d718abdf7e7be4aecb9374e65e63f;hp=3435628754de16d1810509181281247dd7700cb7;hb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;hpb=c9694de4371410ff7be261f7e9a42a44afcaea32 diff --git a/src/plugins/ctf/lttng-live/data-stream.c b/src/plugins/ctf/lttng-live/data-stream.c index 34356287..aba9c807 100644 --- a/src/plugins/ctf/lttng-live/data-stream.c +++ b/src/plugins/ctf/lttng-live/data-stream.c @@ -1,26 +1,10 @@ /* - * Copyright 2019 Francis Deslauriers - * Copyright 2016 - Philippe Proulx - * Copyright 2016 - Jérémie Galarneau - * Copyright 2010-2011 - EfficiOS Inc. and Linux Foundation - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. + * SPDX-License-Identifier: MIT * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright 2019 Francis Deslauriers + * Copyright 2016 Philippe Proulx + * Copyright 2016 Jérémie Galarneau + * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation */ #define BT_COMP_LOG_SELF_COMP self_comp @@ -186,11 +170,6 @@ enum lttng_live_iterator_status lttng_live_lazy_msg_init( "Failed to create CTF message iterator"); goto error; } - - ctf_msg_iter_set_emit_stream_end_message( - stream_iter->msg_iter, true); - ctf_msg_iter_set_emit_stream_beginning_message( - stream_iter->msg_iter, true); } } @@ -258,11 +237,6 @@ struct lttng_live_stream_iterator *lttng_live_stream_iterator_create( "Failed to create CTF message iterator"); goto error; } - - ctf_msg_iter_set_emit_stream_end_message( - stream_iter->msg_iter, true); - ctf_msg_iter_set_emit_stream_beginning_message( - stream_iter->msg_iter, true); } stream_iter->buf = g_new0(uint8_t, lttng_live->max_query_size); if (!stream_iter->buf) {