I'm using uWSGI with the "--profiler" flag enabled, but I can't find the output file (if any), and (like many things in uWSGI) it's not properly documented.
A useful trick is to use the uWSGIs logger to filter the profiler logs into their own file:
uwsgi \ << other uwsgi options >> \ --logger profiler file:/path/to/profile.log \ --log-route profiler uWSGI Python profiler