Merge branch 'master' of git://git.lttng.org/lttng-tools
[lttng-tools.git] / include / lttng / lttng.h
index c83f9832588e8bfea1a1d73c56ca2b79dfc80690..f4c7cb97aee4cd4235d690edd41772064439b8d8 100644 (file)
@@ -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 */
This page took 0.023469 seconds and 4 git commands to generate.