Using perf command for nginx process

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using perf command for nginx process

Mahmood Naderan
Hi,
I wonder if anybody here have tried perf command with nginx service. While the service is up, I ran a wrk command from another computer as below

    ./wrk -t1 -c100 -d200s http://10.1.1.130

On the server, the nginx process is 100% and then I attached perf command like

$ sudo perf record -e instructions:u --branch-filter any,u -o perf.data -p 32594
^C[ perf record: Woken up 465 times to write data ]
[ perf record: Captured and wrote 117.326 MB perf.data (284800 samples) ]

Now, when I check the buildid-list, I don't see any sign for the nginx binary

$ sudo perf buildid-list -i perf.data 
3a2171019937a2070663f3b6419330223bd64e96 [kernel.kallsyms]
b5381a457906d279073822a5ceb24c4bfef94ddb /lib/x86_64-linux-gnu/libc-2.23.so
ce17e023542265fc11d9bc8f534bb4f070493d30 /lib/x86_64-linux-gnu/libpthread-2.23.so
631c69f65c00d3e6d3ee6108202e9c323a21ce28 [vdso]

Any idea to more investigation?


Regards,
Mahmood




_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx