Create a utils/ folder and add simple utilities to convert PFW files to CSV and JSON data, that can be visualized with tools other than Perfetto, eg R, or imported as a pandas frame.
Add a utility to print out aggregated stats (eg totalns for a function and number of calls to the function -- similar to @JaeseungYeom's script).
Add a utility to check if the generated PFW file is valid: as in, if it has any missing data, we should be able to inform the user (eg with multithreaded or multi processing runs). May have to use Perfetto Python API for this
Create a
utils/folder and add simple utilities to convert PFW files to CSV and JSON data, that can be visualized with tools other than Perfetto, eg R, or imported as a pandas frame.Add a utility to print out aggregated stats (eg totalns for a function and number of calls to the function -- similar to @JaeseungYeom's script).
Add a utility to check if the generated PFW file is valid: as in, if it has any missing data, we should be able to inform the user (eg with multithreaded or multi processing runs). May have to use Perfetto Python API for this