From: Simon Marchi Date: Mon, 2 Dec 2019 20:01:50 +0000 (-0500) Subject: actions: introduce rotate session action X-Git-Tag: v2.13.0-rc1~624 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=bfb2ec6a46481414a99e55556d7b0586e57b074e;hp=bfb2ec6a46481414a99e55556d7b0586e57b074e;p=lttng-tools.git actions: introduce rotate session action This patch introduces the API for the "rotate session" action. A rotate session action is created using the lttng_action_rotate_session_create function. It is mandatory to set a session name using lttng_action_rotate_session_set_session_name before using the action in a trigger. The patch adds the code for serializing the action and deserializing it on the sessiond side, but not the code for executing it. Change-Id: I8ed1a71a00deaa6abafaff703a8980c2c7598bda Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau ---