<p dir="ltr">What's the impact of this?<br>
What will happen if we see this error "disabling per-user tracing".<br>
Will the app stop tracing?</p>
<p dir="ltr">Thanks<br>
Anand Neeli</p>
<div class="gmail_quote">On Apr 11, 2015 5:27 AM, "Philippe Proulx" <<a href="mailto:eeppeliteloop@gmail.com">eeppeliteloop@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Mar 23, 2015 at 9:36 AM, Mathieu Desnoyers<br>
<<a href="mailto:mathieu.desnoyers@efficios.com">mathieu.desnoyers@efficios.com</a>> wrote:<br>
> Perhaps your program is clearing its environment<br>
> variables ? Or launched by a wrapper that clears<br>
> the env. var. ?<br>
<br>
Perhaps LTTng-UST should do like LTTng-tools: try $LTTNG_HOME, then<br>
$HOME, then the current UID's entry in /etc/passwd? This would avoid<br>
disabling per-user tracing even when the environment variables are cleared.<br>
<br>
WDYT?<br>
<br>
Phil<br>
<br>
><br>
> Can you try with a simple demo program to find our<br>
> what is clearing those ?<br>
><br>
> Thanks,<br>
><br>
> Mathieu<br>
><br>
><br>
> ________________________________<br>
><br>
> Hi All,<br>
> I'm sorry to bump on this thread again.<br>
><br>
> Is there any way to overcome this issue?<br>
><br>
> Thanks,<br>
> Anand Neeli<br>
><br>
> On Wed, Mar 18, 2015 at 10:01 PM, Chidhu R <<a href="mailto:chid1989@gmail.com">chid1989@gmail.com</a>> wrote:<br>
>><br>
>> I too am getting the same errors. Inspite of setting LTTNG_HOME in my<br>
>> program.<br>
>><br>
>> On Tue, Mar 17, 2015 at 2:18 PM, Anand Neeli <<a href="mailto:anand.neeli@gmail.com">anand.neeli@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi All,<br>
>>><br>
>>> any idea when do we get this error?<br>
>>><br>
>>> app: libust[4745/4745]: Warning: HOME environment variable not set.<br>
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at<br>
>>> lttng-ust-comm.c:385)<br>
>>> app: libust[4751/4751]: Warning: HOME environment variable not set.<br>
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at<br>
>>> lttng-ust-comm.c:385)<br>
>>> app: libust[4760/4760]: Warning: HOME environment variable not set.<br>
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at<br>
>>> lttng-ust-comm.c:385)<br>
>>> app: libust[4780/4780]: Warning: HOME environment variable not set.<br>
>>> Disabling LTTng-UST per-user tracing. (in setup_local_apps() at<br>
>>> lttng-ust-comm.c:385)<br>
>>><br>
>>> i have set LTTNG_HOME=HOME=/home/root<br>
>>> using 2.6<br>
>>><br>
>>> Thanks,<br>
>>> Anand Neeli<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> lttng-dev mailing list<br>
>>> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
>>> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Mathieu Desnoyers<br>
> EfficiOS Inc.<br>
> <a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><br>
><br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
><br>
</blockquote></div>