X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcondition.c;h=c777fb9c553f759ed57e44d0e51fa44e41d4e9cc;hp=6cebeb03f7bb9d35e651a9a110bb36f087cfd1fe;hb=c19092cd4d6af49c38322fc55ca91f17f03f32ac;hpb=9ef5b6be9aba525924d1eab6d3260f4c7ff165ee diff --git a/src/common/condition.c b/src/common/condition.c index 6cebeb03f..c777fb9c5 100644 --- a/src/common/condition.c +++ b/src/common/condition.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -142,6 +143,12 @@ ssize_t lttng_condition_create_from_buffer( case LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE: create_from_buffer = lttng_condition_session_consumed_size_create_from_buffer; break; + case LTTNG_CONDITION_TYPE_SESSION_ROTATION_ONGOING: + create_from_buffer = lttng_condition_session_rotation_ongoing_create_from_buffer; + break; + case LTTNG_CONDITION_TYPE_SESSION_ROTATION_COMPLETED: + create_from_buffer = lttng_condition_session_rotation_completed_create_from_buffer; + break; default: ERR("Attempted to create condition of unknown type (%i)", (int) condition_comm->condition_type);