X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-consumer.c;h=cd6b53ee1d2232db570f51ba97ca712f6862b720;hb=b9bbdb8ae401dea58c56845fceb6b615225df6b4;hp=25dc7ed1c6da96c5fa8cfba14e95d78dab0e9ac1;hpb=a2814ea7573bf5edd5323d6f89c48ff14105db69;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-consumer.c b/src/bin/lttng-sessiond/ust-consumer.c index 25dc7ed1c..cd6b53ee1 100644 --- a/src/bin/lttng-sessiond/ust-consumer.c +++ b/src/bin/lttng-sessiond/ust-consumer.c @@ -6,13 +6,13 @@ */ #define _LGPL_SOURCE -#include #include #include #include #include #include +#include #include #include #include @@ -151,7 +151,7 @@ static int ask_channel_creation(struct ust_app_session *ua_sess, ua_chan->tracefile_count, ua_sess->id, ua_sess->output_traces, - ua_sess->real_credentials.uid, + lttng_credentials_get_uid(&ua_sess->real_credentials), ua_chan->attr.blocking_timeout, root_shm_path, shm_path, trace_chunk,