Right now, hp2ps is written in rather difficult to modify C, and is quite inflexible. We should rewrite it in Haskell and make it, among other things, more tolerant to incomplete records.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
An alternative to hpt2ps is hp2html (http://hackage.haskell.org/package/hp2html).I wrote it when I had to do a bunch of profiling at work. It is written in Haskell,and it supports partial data, so you can refresh your profile while it is beinggenerated. Perhaps we should distribute that instead of hp2ps?
The .hp format has been stable for a long time, so I'm not sure we need to ship a .hp tool with GHC at all: If one is put into the Haskell Platform then (after a year or two) we can just stop shipping hp2ps, as everyone will have the Haskell Platform tool anyway.
That way, the tool can freely use e.g. an SVG library, without adding another dependency to the GHC build.
For what it is worth there are now numerous alternatives to hp2ps on Hackage (e.g. hp2pretty). Moreover, we are now able to emit profiler records to the event log, making parsing much simpler. Closing.