Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages