[lttng-dev] lttng function tracing nginx problem

gang li portlet at outlook.com
Wed May 20 11:45:34 EDT 2015


hi all,
I compile the nginx-1.4.7 with FLAG -finstrument-functions , and start nginx like this:








LD_PRELOAD=liblttng-ust-cyg-profile-fast.so  ./nginx
Then I use the command lttng list --userspace and got nothing like this:
UST events:-------------









None
I don't understand why I can't get the func_exit/entry events from nginx.
By the way, I test function tracing with a single c source file and works well, output like this:
UST events:-------------
PID: 4687 - Name: ./tt      lttng_ust_cyg_profile:func_exit (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)      lttng_ust_cyg_profile:func_entry (loglevel: TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)      lttng_ust_tracef:event (loglevel: TRACE_DEBUG (14)) (type: tracepoint)














      ust_baddr_statedump:soinfo (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)

Wishing for help.















 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150520/41e0f0c4/attachment.html>


More information about the lttng-dev mailing list