X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Frotate.cpp;h=b6a66392af2cd2e492d7f7eec0af567ed8d71f0d;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=6a003a18ec101f1b0a3aa13eaaf5027c8df2c987;hpb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/rotate.cpp b/src/lib/lttng-ctl/rotate.cpp index 6a003a18e..b6a66392a 100644 --- a/src/lib/lttng-ctl/rotate.cpp +++ b/src/lib/lttng-ctl/rotate.cpp @@ -10,12 +10,12 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include -#include "lttng-ctl-helper.h" +#include "lttng-ctl-helper.hpp" static enum lttng_rotation_status ask_rotation_info( @@ -196,7 +196,7 @@ end: * Return 0 on success else a negative LTTng error code. */ int lttng_rotate_session(const char *session_name, - struct lttng_rotation_immediate_descriptor *descriptor, + struct lttng_rotation_immediate_descriptor *descriptor __attribute__((unused)), struct lttng_rotation_handle **rotation_handle) { struct lttcomm_session_msg lsm;