X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-ust.h;h=f01f82d7dfdee36c9067a336b8e1c7a0e2352906;hb=edb8b045f1abe76804200921e7b2eb42ec66b5e4;hp=845bcd6c91965b309114a04f539098aad3f4f16f;hpb=53a80697a772bc2e260e3dff006f910be6709f04;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/trace-ust.h b/src/bin/lttng-sessiond/trace-ust.h index 845bcd6c9..f01f82d7d 100644 --- a/src/bin/lttng-sessiond/trace-ust.h +++ b/src/bin/lttng-sessiond/trace-ust.h @@ -24,6 +24,7 @@ #include #include +#include #include "consumer.h" #include "ust-ctl.h" @@ -54,7 +55,7 @@ struct ltt_ust_stream { int handle; char pathname[PATH_MAX]; /* Format is %s_%d respectively channel name and CPU number. */ - char name[LTTNG_SYMBOL_NAME_LEN]; + char name[DEFAULT_STREAM_NAME_LEN]; struct lttng_ust_object_data *obj; /* Using a list of streams to keep order. */ struct cds_list_head list;