From: Jérémie Galarneau Date: Fri, 7 Oct 2016 16:25:21 +0000 (-0400) Subject: Docs: change order of set functions in load.h to match get X-Git-Tag: v2.9.0-rc1~13 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=d5d2ef2bb32a27bf45f76c9abd0ffbb764f4cf27;ds=sidebyside Docs: change order of set functions in load.h to match get Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/load.h b/include/lttng/load.h index 9f4c7ab8e..694c20b92 100644 --- a/include/lttng/load.h +++ b/include/lttng/load.h @@ -138,20 +138,21 @@ int lttng_load_session_attr_set_overwrite( * */ /* - * Set the control url override attribute. + * Set the url override attribute. * * Supported format: - * NETPROTO://(HOST | IPADDR)[:PORT][/TRACEPATH] + * file://TRACEPATH + * NETPROTO://(HOST | IPADDR)[:CTRLPORT[:DATAPORT]][/TRACEPATH] * * Where NETPROTO is one of {tcp, tcp6} * * See lttng-create(1) for more detail. */ -int lttng_load_session_attr_set_override_ctrl_url( +int lttng_load_session_attr_set_override_url( struct lttng_load_session_attr *attr, const char *url); /* - * Set the data url override attribute. + * Set the control url override attribute. * * Supported format: * NETPROTO://(HOST | IPADDR)[:PORT][/TRACEPATH] @@ -160,21 +161,20 @@ int lttng_load_session_attr_set_override_ctrl_url( * * See lttng-create(1) for more detail. */ -int lttng_load_session_attr_set_override_data_url( +int lttng_load_session_attr_set_override_ctrl_url( struct lttng_load_session_attr *attr, const char *url); /* - * Set the url override attribute. + * Set the data url override attribute. * * Supported format: - * file://TRACEPATH - * NETPROTO://(HOST | IPADDR)[:CTRLPORT[:DATAPORT]][/TRACEPATH] + * NETPROTO://(HOST | IPADDR)[:PORT][/TRACEPATH] * * Where NETPROTO is one of {tcp, tcp6} * * See lttng-create(1) for more detail. */ -int lttng_load_session_attr_set_override_url( +int lttng_load_session_attr_set_override_data_url( struct lttng_load_session_attr *attr, const char *url); /*