Skip to content

Convert from .cpuprofile to Spall and GTrace format

License

Notifications You must be signed in to change notification settings

mateuszradomski/xform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert from .cpuprofile to Spall binary or Google trace format

You can use this two ways:

  • use this website, it's the wasm version of this repo
  • clone, compile the xform.c file like clang -O2 xform.c -o xform and use like ./xform <cpuprofile files to convert> or ./xform <directory with .cpuprofile files>
  • You can pass -d as an argument in the CLI to remove converted .cpuprofile files.
  • By default it generates Spall binary format, pass -gtrace to switch to the GTrace format.

Running it generates a file at the same path with the extension replaced by either

  • .spall if using Spall binary format
  • _gtrace.json if using GTrace

This was written for use with spall.

About

Convert from .cpuprofile to Spall and GTrace format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published