Move libconsumer under common/consumer/
[lttng-tools.git] / src / bin / lttng-sessiond / save.c
index 4c70e5836687fa725928b88eae434d07d058f6a2..cc7bfe1e0c76fc778fd078feb7c97d2d4ace1486 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
@@ -25,7 +24,7 @@
 
 #include <common/defaults.h>
 #include <common/error.h>
-#include <common/config/config.h>
+#include <common/config/session-config.h>
 #include <common/utils.h>
 #include <common/runas.h>
 #include <lttng/save-internal.h>
@@ -768,7 +767,7 @@ int init_ust_event_from_agent_event(struct ltt_ust_event *ust_event,
        }
 
        ust_event->attr.loglevel_type = ust_loglevel_type;
-       ust_event->attr.loglevel = agent_event->loglevel;
+       ust_event->attr.loglevel = agent_event->loglevel_value;
        ust_event->filter_expression = agent_event->filter_expression;
        ust_event->exclusion = agent_event->exclusion;
 end:
This page took 0.026397 seconds and 5 git commands to generate.