[lttng-dev] usttrace ./main - Determine ON or OFF inside ./main

chris meyers chris.meyers.fsu at gmail.com
Thu Jan 19 11:39:25 EST 2012


I wish to document the configuration parameters of an experimen, including
the state of usttrace (active or not).  Is there a global variable or an
environmental variable that would indicate usttrace "active" or "passive"
state?  One solution I can think of would be to parse the command line
arguments and look for usttrace.  However, this would not catch the
LD_PRELOAD=/usr/local/lib/libust.so.0
ls case documented at http://lttng.org/files/ust/manual/ust.html

Thanks,
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120119/8387c781/attachment.html>


More information about the lttng-dev mailing list