as easy as profiling with Austin itself. Just pass the pid of the web server
sudo austin-tui -Cp <webserverpid>
See https://github.com/P403n1x87/austin#examples for more details. To avoid using sudo on Linux you can do
sudo setcap cap_sys_ptrace+ep `which austin`
and then simply
austin-tui -Cp <webserverpid>