Skip to contentSkip to conversation

LTTng address API proposal

RFC Yannick Brosseau 2 participants 2 messages Aug 2, 2012 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 1 line · David Goulet

This follows the discussion on IRC #lttng which aims at removing the

lttng_uri

Quoted 6 lines

structure from the public API.

Cheers!
David

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

Why not lttng_create_session_url ?

Quoted 8 lines

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://

Quoted 1 line

lttng_set_consumer_addr(struct lttng_handle *handle,

                const char *addr);

Can we have examples for the set_consumer addr ?

Quoted 6 lines

_______________________________________________
lttng-dev mailing list
[email protected]
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-----

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

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

Quoted 11 lines · Yannick Brosseau
Quoted 1 line · David Goulet

This follows the discussion on IRC #lttng which aims at removing the

lttng_uri

Quoted 5 lines

structure from the public API.

Cheers! David

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

Why not lttng_create_session_url ?

No idea lol... you prefer that, I'm not against.

Quoted 11 lines
Quoted 7 lines

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://

The protocols are listed in doc/proposals/0003-network.consumer.txt. However, I might move them in that one so we can clearly define the URL string format.

Quoted 7 lines
Quoted 3 lines

lttng_set_consumer_addr(struct lttng_handle *handle,

const char *addr);

Can we have examples for the set_consumer addr ?

Ofc.

David

Quoted 12 lines
Quoted 6 lines

_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Quoted 3 lines

_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJQGr9/AAoJEELoaioR9I02NSQH/iaf4/+vBwxkkW6+KuZiRW2o p/KkZssf1yWQPtxyspxr2JAueykKCH+PtIiB2s2QLDxWCYqOt7gSPI2XlTjdem4I e+N6h25zVpKvlV+rzW6Aw/sbNXRyX9Pw9ldkHYxIkNJjx67Y2ZnBGa9lxdAx7t/U LE+RMrzy9+lwdodZhx5MVJxs1JyVNmU+i+dbIsQlAPdNwUWTebxKP3JVwHz/OwwH 46++EnyFLPIeqvvVPCGJFOaBkBimMCDl0BFm+yviVWZXQKnYl44mnI41RFWa+JVF t1BLqkxExM7FzvnXuxUbBgbhRlRLlrXhRBFlNLK9kVSpPBBm49Y0g94tsB+hEjY= =t6Xs
-----END PGP SIGNATURE-----