#include "bin/lttng-sessiond/tracker.h"
#include "common/tracker.h"
#include "common/utils.h"
+#include "lttng/event.h"
#include "lttng/lttng-error.h"
#include "lttng/tracker.h"
#define _LGPL_SOURCE
ksess->uid, ksess->gid, ksess->consumer,
/* is_metadata_channel */ false);
if (ret < 0) {
- status = LTTNG_ERR_KERN_CONSUMER_FAIL;
+ status = LTTNG_ERR_ROTATION_FAIL_CONSUMER;
goto error;
}
}
ksess->uid, ksess->gid, ksess->consumer,
/* is_metadata_channel */ true);
if (ret < 0) {
- status = LTTNG_ERR_KERN_CONSUMER_FAIL;
+ status = LTTNG_ERR_ROTATION_FAIL_CONSUMER;
goto error;
}
}