X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.hpp;fp=src%2Fbin%2Flttng-sessiond%2Fsession.hpp;h=0c4f71d47b84bfb264120073e6be66427363a013;hp=48f3532f182728fc1b7db8ef2cd23a91a9e613eb;hb=66cefebdc240cbae0bc79594305f509b0779fa98;hpb=ff01a57416330247403e58bf4e28d4771a46ce35 diff --git a/src/bin/lttng-sessiond/session.hpp b/src/bin/lttng-sessiond/session.hpp index 48f3532f1..0c4f71d47 100644 --- a/src/bin/lttng-sessiond/session.hpp +++ b/src/bin/lttng-sessiond/session.hpp @@ -125,12 +125,9 @@ struct ltt_session { */ bool has_user_specified_directory; /* Did at least ONE start command has been triggered?. */ - unsigned int has_been_started:1; - /* - * Is the session active? Start trace command sets this to 1 and the stop - * command reset it to 0. - */ - unsigned int active:1; + bool has_been_started; + /* Is the session active? */ + bool active; /* Snapshot representation in a session. */ struct snapshot snapshot;