RE: heap profiling and name truncation

2005-11-16 Thread Simon Marlow
On 14 November 2005 20:35, Abraham Egnor wrote:

> I'm trying to use the built-in ghc heap profiling and running into a
> large roadblock: the names of producers are truncated, often into
> uselessness, and there doesn't seem to be an option to control this.
> Am I missing something in the docs?

The limit of 25 characters before the "..." is built-in, I'm afraid.
How ever, the cost centre ID is included (the number in parentheses
before the cost centre stack), and you can match this to the full CCS by
adding the -P option:

  $ ./prog +RTS -hc -P

also produces a time profile in prog.prof that includes the ID of each
cost centre stack.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


heap profiling and name truncation

2005-11-14 Thread Abraham Egnor
I'm trying to use the built-in ghc heap profiling and running into a
large roadblock: the names of producers are truncated, often into
uselessness, and there doesn't seem to be an option to control this. 
Am I missing something in the docs?

Abe
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users