[lttng-dev] [RFC] LTTng address API proposal

Yannick Brosseau yannick.brosseau at gmail.com
Thu Aug 2 09:13:30 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-07-31 12:13, David Goulet wrote:
> This follows the discussion on IRC #lttng which aims at removing the
lttng_uri
> structure from the public API.
>
> Cheers!
> David

> --> lttng_create_session_addr(const char *name, const char *addr,

Why not lttng_create_session_url ?

> PROTO://[HOST|IP][:PORT][/PATH]
>
> Examples:
>
> * net://myhostname
> * net://myhostname:9888
> * net://myhostname/foo/bar
> * net://X.X.X.X:9888/foo/bar


You should put the list of protocol available. Now it seems that we
cannot do file://


> lttng_set_consumer_addr(struct lttng_handle *handle,
                const char *addr);


Can we have examples for the set_consumer addr ?

>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAafOIACgkQFQrZ7GzHX2oKTQCeMZWzl27WI+qEkvik1TorHxtM
RcQAoKZ6wsqNkfNb2WX3jj0Yc2TcPRZ3
=5pn9
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120802/0ab85041/attachment.html>


More information about the lttng-dev mailing list