Description
This uses the Catapult flame chart json format for timings. This can then be imported into Perfetto.
Allocations are displayed in tracks just like in the png, but with names, and the values can be zoomed in-out and scrolled through. Perfetto seems to keep trying to kill off this json, without offering an alternative, but it works okay for this.
Timestamp is the offset, and duration correspond to size. These are all displayed as timings (either ns or ms), but should all be drawn with rect corresponding to the sizes. Perfetto still doesn't have hover over the values to expand name/duration, but that would help here.
https://github.com/alecazam/kram/blob/main/scripts/GpuMemDumpPerfetto.py
Here's a screenshot of Perfetto with the default dump. "M" indicates free blocks, since empty string seems to break Perfetto. And I can't specify colors either. But unique names each get pseudo-colored in a block track.
