From: Jonathan Rajotte Date: Tue, 9 Jun 2020 00:29:58 +0000 (-0400) Subject: liblttng-ctl: add facilities for lttng_snapshot_output object X-Git-Tag: v2.13.0-rc1~622 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b30fa1919a1e0274b8d4734acb8cb54753808609;hp=b30fa1919a1e0274b8d4734acb8cb54753808609 liblttng-ctl: add facilities for lttng_snapshot_output object Internal: is_equal, serialize, validate, from_buffer. Public: set_local_path, set_network_url set_network_urls These APIs are used by the upcoming "snapshot session" action used to trigger a snapshot on a given condition. The internal API is added to transmit a snapshot output as part of an action while the public API is added to clean-up the current snapshot_output API which will be used by the client to create the snapshot_session actions. For instance, with set_local_path, it is no longer necessary to create a local snapshot output by calling lttng_snapshot_output_set_ctrl_url with a "file://" protocol. Signed-off-by: Simon Marchi Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: I00f9521faf9f66890ad6ea9a05ad7f6468f805f8 ---