This add the profiling results to *.pro files just like --code-coverage and --track-allocation do with code coverage and memory allocations.
*.pro
--code-coverage
--track-allocation
Usage:
@profile f(...) using ProfileFile ProfileFile.write_to_file()