Fix loglevel handling in test case (API change) and lttng command
[lttng-tools.git] / include / lttng / lttng.h
index 433d2d804829749b2909b2485213b1c06607377f..c83f9832588e8bfea1a1d73c56ca2b79dfc80690 100644 (file)
@@ -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 */
This page took 0.022925 seconds and 4 git commands to generate.