+RTS -N -qg breaks profiling
Summary
The timestamps aren't monotonic, and next to about the end of the program runtime (mandated by -M) negative timestamps are being produced. See the attached .hp and the nice pic (the timestamped samples were sorted and the negative-dated ones discarded so that hp2ps can consume it):
Steps to reproduce
+RTS -M100M -N -qg -hc
something.
Expected behavior
To produce files that hp2ps can handle.
Environment
- GHC version used: 9.0.1
Optional:
- Operating System: Gentoo GNU/Linux
- System Architecture: amd64