[lttng-dev] The JUL domain

David Goulet dgoulet at efficios.com
Fri Jan 17 11:10:49 EST 2014


On 17 Jan (15:58:15), Thibault, Daniel wrote:
>    A quick question regarding the LTTng 2.4 jul domain:
> 
>    Does its use mean another consumer daemon or two may be launched?  Suppose I have a 64-bit system with some 32-bit apps, including both 32- and 64-bit Java.

Yes.

> Suppose I run a 'tracing' group trace on the kernel, user-space and jul. Will I get five consumer daemons?  One for the kernel, one for 32-bit user-space events, one for 64-bit user-space events, one for 32-bit java.util.logging events and a last one for 64-bit java.util.logging events?

No, consumers are based on the bitness thus if 32-bit app, 64-bit app
and the kernel, you'll have two UST consumers and one kernel consumer.

The JUL domain means that you can enable Logger name in a Java
application through a Java Agent that uses a JNI library to use
lttng-ust which will register to the session daemon and have a full UST
setup process.

The Logger's data is mapped to a UST generic tracepoint (can be
expanded) so what the consumer do is the same as a UST domain.

Hope that clarifies.

Cheers!
David

> 
> Daniel U. Thibault
> Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
> Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
> 2459 route de la Bravoure
> Québec QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada | Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: Digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140117/284eeed7/attachment-0001.pgp>


More information about the lttng-dev mailing list