[ltt-dev] Session Daemon - Listing Events

David Goulet david.goulet at polymtl.ca
Tue May 31 16:38:21 EDT 2011


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



On 11-05-31 04:27 PM, Irina Guilman wrote:
> Looked at it, 1 - 5 clear, thanks.
> 
> Regarding 6, multi-session support, basically safe if sessions are started from different processes, but not if from different threads of the same process. Multi-process safe is good enough, I guess.
> 
> For the interface, out of curiosity, you chose
> 
> lttng_set_current_session_uuid(uuid_t *uuid);
> lttng_ust_start_trace(pid_t pid);
> 
> Over
> 
> lttng_ust_start_trace(pid_t pid, uuid_t *uuid);
>   
> As the former is more user-friendly?
> 

That's a good question.

Well actually, I thought about changing it adding the uuid to all trace action
but, for now, the good thing about lttng_set_current_session_uuid is that you
can set your current session uuid and do *multiple* actions one after the other
before quitting.

At the moment, I don't see any kind of "needs" that will make me change the API.
If you have some, please let me know! :). I will surely look at this "user API
issue" before the first release.

Cheers!
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJN5VG9AAoJEELoaioR9I02i+MIAKitC5anN6z5JwIyvlb2uAOI
ZM2VjdezJ+oq4p65KRAT1nK2DxDLFnD39XOmHE3IneInwYMt1Xa9Foswv4vHQipi
WpbfG9ZOtsfK29PZAyGE+BH7FTy/u33czlgkYsnbSwC8he3nbp4jUSNXqaTV2s/d
RkBYRpZOZdAI7887mvYuVv/mS6RbXNdR8CvEHCes7jH3CQUcIqlhAMz2qlS6aWbg
e7ntyTi472I3qkoNPd1mpe9krM6gfQrBQgrFRexpMnpwzdcMPRqTKZdlUEQeEX2r
XrqLArgUpgChN2cuZooCwb+Qx7gA2uItBixLnXjRqHoIIoN1APDeWAbzMpxpyMc=
=fn8+
-----END PGP SIGNATURE-----




More information about the lttng-dev mailing list