X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fevaluation.c;h=b2c2df81585e34d943af6605d04d8633b084a277;hp=43b4e743f22e807dfd799201387ef40b4df755fc;hb=e8360425c2fd0f8cfef1e678af5adfde7ae0a68e;hpb=0f0479d77e6e55766f9c1ec5765a4479e7b40b79 diff --git a/src/common/evaluation.c b/src/common/evaluation.c index 43b4e743f..b2c2df815 100644 --- a/src/common/evaluation.c +++ b/src/common/evaluation.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -86,6 +87,14 @@ ssize_t lttng_evaluation_create_from_buffer( } evaluation_size += ret; break; + case LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE: + ret = lttng_evaluation_session_consumed_size_create_from_buffer( + &evaluation_view, evaluation); + if (ret < 0) { + goto end; + } + evaluation_size += ret; + break; default: ERR("Attempted to create evaluation of unknown type (%i)", (int) evaluation_comm->type);