/prof_merger

Primary LanguagePythonApache License 2.0Apache-2.0

prof_merger

prof_merger is a tiny tool to combine all profiling pstat files into a one single file that can be later processed by other tools.

  • Combine all pstat files present in the given dir into a single file

Process all files inside a directory:

$ prof_merger -i ./profiling_session1/ -o combined.prof -f 01012017
Adding file prof_01012017_26377.prof
Adding file prof_01012017_26363.prof
Adding file prof_01012017_26378.prof
Writing results to combined.prof

Print results into combined.txt ordered by cumulative time and apply 'lib64' filter:

$ prof_merger -i combined.prof --txt combined.txt -s cumulative -p lib64
Writing text results to combined.txt
  • Support more file formats
  • Add more filtering options