T12903(profasm) produces a heap profile with out of sequence samples
$ cd testsuite && make TEST="T12903" WAY="profasm" CLEANUP=0 ; cd ..
[...]
=====> T12903(profasm) 1 of 1 [0, 0, 0]
cd "./rts/T12903.run" && "/home/alp/WT/ghc-slow-validate/inplace/test spaces/ghc-stage2" -o T12903 T12903.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -O -prof -static -fprof-auto
cd "./rts/T12903.run" && ./T12903 +RTS -hc -p -RTS
cd "./rts/T12903.run" && "/home/alp/WT/ghc-slow-validate/inplace/test spaces/hp2ps" T12903
hp2ps error when processing heap profile for T12903
*** unexpected failure for T12903(profasm)
[...]
$ inplace/test\ \ \ spaces/hp2ps testsuite/tests/rts/T12903.run/T12903
hp2ps: testsuite/tests/rts/T12903.run/T12903.hp, line 9, samples out of sequence
$ cat testsuite/tests/rts/T12903.run/T12903.hp
JOB "T12903 +RTS -hc -p"
DATE "Wed Apr 18 11:59 2018"
SAMPLE_UNIT "seconds"
VALUE_UNIT "bytes"
BEGIN_SAMPLE 0.000000
END_SAMPLE 0.000000
BEGIN_SAMPLE 0.004175
END_SAMPLE 0.004175
BEGIN_SAMPLE 0.000462
END_SAMPLE 0.000462
This seems like an actual problem, completely unrelated to #12903 (closed), so I'm opening this ticket to track/fix this issue. I'll also mark T12903 as expected broken for the profasm
way.
EDIT: This was against 8b823f27.