sessiond: ust: remove unused `is_sent` attribute of ust_app_channel
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 25 May 2022 19:26:31 +0000 (15:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 13 Jun 2022 20:34:46 +0000 (16:34 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If97146367f62edf739d1228908c21346c2dae231

src/bin/lttng-sessiond/ust-app.cpp
src/bin/lttng-sessiond/ust-app.hpp

index 66d363c4b064ea003e8577a5e504aaf5b126d6b8..b4192398b1682b01e4779df80f05945c7b1627eb 100644 (file)
@@ -1984,8 +1984,6 @@ static int send_channel_pid_to_ust(struct ust_app *app,
                cds_list_del(&stream->list);
                delete_ust_app_stream(-1, stream, app);
        }
-       /* Flag the channel that it is sent to the application. */
-       ua_chan->is_sent = 1;
 
 error:
        health_code_update();
@@ -3352,7 +3350,6 @@ static int send_channel_uid_to_ust(struct buffer_reg_channel *buf_reg_chan,
                 */
                (void) release_ust_app_stream(-1, &stream, app);
        }
-       ua_chan->is_sent = 1;
 
 error_stream_unlock:
        pthread_mutex_unlock(&buf_reg_chan->stream_list_lock);
index 7206666babe7f8fda0ee270d0a5c4e32c624079d..48dc7b64ef5557df6930ed944ce6fb939491141f 100644 (file)
@@ -144,8 +144,6 @@ struct ust_app_stream {
 struct ust_app_channel {
        int enabled;
        int handle;
-       /* Channel and streams were sent to the UST tracer. */
-       int is_sent;
        /*
         * Unique key used to identify the channel on the consumer side.
         * 0 is a reserved 'invalid' value used to indicate that the consumer
This page took 0.027021 seconds and 4 git commands to generate.