X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=c83f9832588e8bfea1a1d73c56ca2b79dfc80690;hb=ed7f40833d26f9d757c455607118c6d8e866a956;hp=433d2d804829749b2909b2485213b1c06607377f;hpb=0cda4f28041a221757fa2dfa8e91706e7a548090;p=lttng-tools.git diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 433d2d804..c83f98325 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -152,9 +152,9 @@ struct lttng_event { char name[LTTNG_SYMBOL_NAME_LEN]; enum lttng_loglevel_type loglevel_type; - char loglevel[LTTNG_SYMBOL_NAME_LEN]; - int64_t loglevel_value; /* for printing */ + char loglevel[LTTNG_SYMBOL_NAME_LEN]; /* '\0' for all loglevels */ + int64_t loglevel_value; /* for printing */ uint32_t enabled; pid_t pid; /* Per event type configuration */