<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>hi all,<div><br></div><div>I compile the nginx-1.4.7 with FLAG <span style="font-size: 12pt;">-finstrument-functions</span><span style="font-size: 12pt;"> , and start nginx like this:</span></div><div><span style="font-size: 12pt;"><br></span></div><div>







<p class="p1"><span class="s1">LD_PRELOAD=liblttng-ust-cyg-profile-fast.so  ./nginx</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1">Then I use the command </span><span style="font-size: 12pt;">lttng list --userspace and got nothing like this:</span></p><p class="p1"><br></p><p class="p1"><span class="s1">UST events:</span></p><p class="p1"><span class="s1">-------------</span></p><p class="p1">









</p><p class="p1"><span class="s1">None</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1"><br class="Apple-interchange-newline">I don't understand why I can't get the func_exit/entry events from nginx.</span></p><p class="p1"><span style="font-size: 12pt;"><br></span></p><p class="p1"><span style="font-size: 12pt;">By the way, I test function tracing with a single c source file and works well, output like this:</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1">UST events:</span></p><p class="p1"><span class="s1">-------------</span></p><p class="p2"><span class="s1"></span><br></p><p class="p1"><span class="s1">PID: 4687 - Name: ./tt</span></p><p class="p1"><span class="s1">      lttng_ust_cyg_profile:func_exit (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)</span></p><p class="p1"><span class="s1">      lttng_ust_cyg_profile:func_entry (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)</span></p><p class="p1"><span class="s1">      lttng_ust_tracef:event (loglevel: TRACE_DEBUG (14)) (type: tracepoint)</span></p><p class="p1"><span class="s1">














</span></p><p class="p1"><span class="s1">      ust_baddr_statedump:soinfo (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1"><br></span></p><p class="p1">Wishing for help.</p>







</div>







                                          </div></body>
</html>