X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=f4c7cb97aee4cd4235d690edd41772064439b8d8;hp=c83f9832588e8bfea1a1d73c56ca2b79dfc80690;hb=976731c81935b744ae0fdf4044d1e6f7f9c1e0e8;hpb=ed7f40833d26f9d757c455607118c6d8e866a956 diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index c83f98325..f4c7cb97a 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -71,8 +71,9 @@ enum lttng_event_type { * Loglevel information. */ enum lttng_loglevel_type { - LTTNG_EVENT_LOGLEVEL = 0, - LTTNG_EVENT_LOGLEVEL_ONLY = 1, + LTTNG_EVENT_LOGLEVEL_ALL = 0, + LTTNG_EVENT_LOGLEVEL_RANGE = 1, + LTTNG_EVENT_LOGLEVEL_SINGLE = 2, }; /* @@ -152,9 +153,8 @@ struct lttng_event { char name[LTTNG_SYMBOL_NAME_LEN]; enum lttng_loglevel_type loglevel_type; - char loglevel[LTTNG_SYMBOL_NAME_LEN]; /* '\0' for all loglevels */ + int loglevel; - int64_t loglevel_value; /* for printing */ uint32_t enabled; pid_t pid; /* Per event type configuration */