9 lines
549 B
Markdown
9 lines
549 B
Markdown
|
# pctrace
|
||
|
|
||
|
Trace functionality to allow visualizing coverage in lcov and cachegrind tools. Use environment variables NOCOMPRES and REGDUMP to toggle functionality.
|
||
|
- NOCOMPRES: any value turns off the LZ4 compression
|
||
|
- REGDUMP: any value switches to tracing the registers instead. Also turns off compression.
|
||
|
|
||
|
Known Bugs:
|
||
|
- currently does not work correctly with jit backends, the plugin cant tell if instructions are compressed. Additionaly the cost of instrs that raise a trap is not known. It takes the cost of the instrid -1 (0 at the moment).
|