Skip to content

"+RTS -px" is undocumented and doesn't produce XML

The "+RTS -px" is undocumented (except for appearing in the "+RTS -?" output, and it doesn't produce XML. Also, the allocations are printed in words rather than bytes, which I assume was unintentional.

The flag is prof2dot.

We should either remove or document the flag. Perhaps also rename it if it's not going to produce XML output (perhaps "+RTS -p --machine-readable"?).

Trac metadata
Trac field Value
Version 6.12.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Profiling
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information