<div class="__aliyun_email_body_block"><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">Thanks a lot. I will try single quotes but it may take hours get the result. Yesterday, I enabled the verbose option ,and found the following message "UST app reply event failed. Application died (in add_event_ust_registry() at ust-app.c:5405)" and "UST app notify socket unregister 34 (in ust_app_notify_sock_unregister() at ust-app.c:5562)". In fact ,the socket that Lttng-sessiond send reply to my app return an error with EPIPE. It seems that the pipe breaked.So do you have any hint for that?</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><br ></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">Thank you  </span></div><blockquote  style="margin-right:0;margin-top:0;margin-bottom:0;"><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">------------------------------------------------------------------</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">发件人:Mathieu Desnoyers <mathieu.desnoyers@efficios.com></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">发送时间:2020年7月1日(星期三) 20:07</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">收件人:zhenyu.ren <zhenyu.ren@aliyun.com></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">抄 送:lttng-dev <lttng-dev@lists.lttng.org></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">主 题:Re: 回复:[lttng-dev] 回复: some tracepoints not exist in metadata?</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><br /></span></div><div  class=" __aliyun_node_has_color" style="font-family:arial,helvetica,sans-serif;font-size:12.0pt;color:#000000;"><div >Hi,<br ></div><div ><br ></div><div >Make sure you use single quotes in your shell around wildcards, else the<br ></div><div >shell will try to expand them to files in the current directory, e.g., you need to do:<br ></div><div ><br ></div><div >lttng enable-event -u 'system_event*' -c channel0 -s misc_data<br ></div><div ><br ></div><div >This could very well explain why sometimes your events don't get enabled: if the<br ></div><div >wildcard matches files in the current directory.<br ></div><div ><br ></div><div >Thanks,<br ></div><div ><br ></div><div >Mathieu</div><div ><br ></div><div ><span  id="zwchr">----- On Jun 30, 2020, at 11:56 PM, zhenyu.ren <zhenyu.ren@aliyun.com> wrote:<br ></span></div><div ><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">Ah, I have to say that I use the wildcard in tracepoint name when enable-event to the channel, i.e. ./lttng enable-event -u system_event* -c channel0 -s misc_data. Of course, there are the other tracepoints with wildcard succeed in registring.</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">------------------------------------------------------------------</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">发件人:zhenyu.ren via lttng-dev <lttng-dev@lists.lttng.org></span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">发送时间:2020年7月1日(星期三) 11:44</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">收件人:lttng-dev <lttng-dev@lists.lttng.org>; mathieu.desnoyers <mathieu.desnoyers@efficios.com></span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">主 题:[lttng-dev] 回复: some tracepoints not exist in metadata?</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;"><br ></span></div><div ><font  color="#000000" face="Tahoma, Arial, STHeiti, SimSun">I'd like to add that </font><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="color:#000000;font-family:tahoma,arial,stheiti,simsun;">both "lttng list -u" and "lttng list $session_name" can get those tracepoints' names... </span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">------------------------------------------------------------------</span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">发件人:zhenyu.ren via lttng-dev <lttng-dev@lists.lttng.org></span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">发送时间:2020年7月1日(星期三) 11:05</span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">收件人:lttng-dev <lttng-dev@lists.lttng.org>; mathieu.desnoyers <mathieu.desnoyers@efficios.com></span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">主 题:[lttng-dev] some tracepoints not exist in metadata?</span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;"><br ></span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">Hi,</span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">   I find sometimes there are some tracepoints not exist in metadata file(but they are in the list of lttng list -u) and the end result is  they can NOT be logged. I can not always reproduce it. It bothered me for 2 days. </span></div><div ><span  class=" __aliyun_node_has_color __aliyun_node_has_color __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;"></span>   The lttng version is 2.7, I know it is not the latest version but there are some reasons I can't update it. So, is this a known bug?  If yes, It will be very appreciated if you can give me any advice about the bug info(I can cherry pick the correspond fix). Otherwise, maybe I have to give up my favoriate Lttng....</div><br ><div >Thank you in advance!</div><div >zhenyu.ren</div><br ></div><div ><br ></div><div >-- <br ></div><div >Mathieu Desnoyers<br >EfficiOS Inc.<br ><a  href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div></div></blockquote></div>