diff options
| author | Mircea Trofin <mtrofin@google.com> | 2024-07-23 05:59:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 08:59:07 -0400 |
| commit | cc7308a1563e5ebab4dffeb85deefdde61e6711a (patch) | |
| tree | 4895d65f6f17e6aa2d2d08674e7f86417a727042 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | 1ee686a55aa6365eff39bbd1dc2059b16be6c2f1 (diff) | |
[ctx_prof] Make the profile output analyzable by llvm-bcanalyzer (#99563)
This requires output-ing a "Magic" 4-byte header. We also emit a block info block, to describe our blocks and records. The output of `llvm-bcanalyzer` would look like:
```
<BLOCKINFO_BLOCK/>
<Metadata NumWords=17 BlockCodeSize=2>
<Version op0=1/>
<Context NumWords=13 BlockCodeSize=2>
<GUID op0=2/>
<Counters op0=1 op1=2 op2=3/>
```
Instead of having `Unknown` for block and record IDs.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
