* Where CREATION_TIME is time of the creation of the session on the session
* daemon in the form "yyyymmdd-hhmmss".
*
* Where CREATION_TIME is time of the creation of the session on the session
* daemon in the form "yyyymmdd-hhmmss".
*
* 'control_url' and 'data_url' output parameters unspecified. In such cases,
* the session daemon will create a default output targeting a relay daemon
* at net://127.0.0.1, using the default 'control' and 'data' ports.
*
* 'control_url' and 'data_url' output parameters unspecified. In such cases,
* the session daemon will create a default output targeting a relay daemon
* at net://127.0.0.1, using the default 'control' and 'data' ports.
*
* NETPROTO://(HOST | IPADDR)[:CTRLPORT[:DATAPORT]][/TRACEPATH]
*
* NETPROTO: Network protocol, amongst:
* NETPROTO://(HOST | IPADDR)[:CTRLPORT[:DATAPORT]][/TRACEPATH]
*
* NETPROTO: Network protocol, amongst:
* The 'name' parameter can be left NULL to auto-generate a session name.
*
* The 'path' must either be an absolute path or it can be left NULL to
* The 'name' parameter can be left NULL to auto-generate a session name.
*
* The 'path' must either be an absolute path or it can be left NULL to
lttng_session_descriptor_network_create(const char *name,
const char *control_url, const char *data_url);
lttng_session_descriptor_network_create(const char *name,
const char *control_url, const char *data_url);
lttng_session_descriptor_snapshot_network_create(const char *name,
const char *control_url, const char *data_url);
lttng_session_descriptor_snapshot_network_create(const char *name,
const char *control_url, const char *data_url);
lttng_session_descriptor_live_create(
const char *name, unsigned long long live_timer_interval_us);
lttng_session_descriptor_live_create(
const char *name, unsigned long long live_timer_interval_us);
lttng_session_descriptor_live_network_create(
const char *name,
const char *control_url, const char *data_url,
lttng_session_descriptor_live_network_create(
const char *name,
const char *control_url, const char *data_url,
* NULL, and LTTNG_SESSION_DESCRIPTOR_STATUS_UNSET if the descriptor's
* name parameter is unset.
*/
* NULL, and LTTNG_SESSION_DESCRIPTOR_STATUS_UNSET if the descriptor's
* name parameter is unset.
*/
lttng_session_descriptor_get_session_name(
const struct lttng_session_descriptor *descriptor,
const char **name);
lttng_session_descriptor_get_session_name(
const struct lttng_session_descriptor *descriptor,
const char **name);
* This does not destroy the session on the session daemon; it releases
* the resources allocated by the descriptor object.
*/
* This does not destroy the session on the session daemon; it releases
* the resources allocated by the descriptor object.
*/