Closed tsafs closed 1 year ago
You can use --format raw
to get raw stackcollapsed format. Merging them done by simply concatenating the files. Then, you can convert the result back to speedscope.
~How do you convert the raw format back to speedscope format?~ Nvm. speedscope can open the raw format (and can also export it to speedscope json format)
Say I have multiple docker containers which run the same software in parallel. On each container I start an instance of py-spy monitoring that software. Is there a way to combine the results into one file, such that in
speedscope
theleft heavy
view would group the same call stacks of the various processes together?