X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-ust.hpp;fp=src%2Fbin%2Flttng-sessiond%2Ftrace-ust.hpp;h=46a69fe9d5f3105814ecf5853d02100993e80b8d;hp=38662ec5888de3fc8d6381fe5afea1c9716de25d;hb=66cefebdc240cbae0bc79594305f509b0779fa98;hpb=ff01a57416330247403e58bf4e28d4771a46ce35 diff --git a/src/bin/lttng-sessiond/trace-ust.hpp b/src/bin/lttng-sessiond/trace-ust.hpp index 38662ec58..46a69fe9d 100644 --- a/src/bin/lttng-sessiond/trace-ust.hpp +++ b/src/bin/lttng-sessiond/trace-ust.hpp @@ -39,7 +39,7 @@ struct ltt_ust_context { /* UST event */ struct ltt_ust_event { - unsigned int enabled; + bool enabled; struct lttng_ust_abi_event attr; struct lttng_ht_node_str node; char *filter_expression; @@ -57,7 +57,7 @@ struct ltt_ust_event { /* UST channel */ struct ltt_ust_channel { uint64_t id; /* unique id per session. */ - unsigned int enabled; + bool enabled; /* * A UST channel can be part of a userspace sub-domain such as JUL, * Log4j, Python. @@ -100,7 +100,7 @@ struct ltt_ust_session { uid_t uid; gid_t gid; /* Is the session active meaning has is been started or stopped. */ - unsigned int active:1; + bool active; struct consumer_output *consumer; /* Sequence number for filters so the tracer knows the ordering. */ uint64_t filter_seq_num;