Using perf command for nginx process

Mahmood Naderan mahmood.nt at
Sun Apr 12 06:21:03 UTC 2020

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

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

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

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

$ sudo perf buildid-list -i
3a2171019937a2070663f3b6419330223bd64e96 [kernel.kallsyms]
b5381a457906d279073822a5ceb24c4bfef94ddb /lib/x86_64-linux-gnu/
631c69f65c00d3e6d3ee6108202e9c323a21ce28 [vdso]

Any idea to more investigation?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list