Profile File Formats

This project incooperates several custom tailored file formats. Most notably the CPU & Memory profile format and a file format for the JIT log.

Both share the same setup:

<8-bit tag><content of 32 bytes>
<8-bit tag><content of 55 bytes>

The tag decides how to proceed with the content.

CPU & Memory Profile

  • Adress mapping: Matches the following pattern:

    <lang>:<symbol name>:<line>:<file>

    Most commonly lang will be py, but also can be n for native symbols. line is a positive integer number. file a path name, or ‘-‘ if no file could be found.