[project @ 2003-01-23 12:13:10 by simonmar]
authorsimonmar <unknown>
Thu, 23 Jan 2003 12:13:12 +0000 (12:13 +0000)
committersimonmar <unknown>
Thu, 23 Jan 2003 12:13:12 +0000 (12:13 +0000)
commit70c1ca013dfb2a9a87b64e99e6a8afcd8efebcee
treecbf851ec06c1a05b805cd59b9988e0b821e47222
parent55afc498ef4a0e8ac88e34a672f05caa3fc01139
[project @ 2003-01-23 12:13:10 by simonmar]
- Add a new flag, -xt, which enables inclusion of TSOs in a heap profile.

- Include large objects in heap profiles (except TSOs unless the -xt flag
  is given).

- In order to make this work, I had to set the bd->free field of the
  block descriptor for a large object to the correct value.  Previously,
  it pointed to the start of the block (i.e. the same as bd->start).
  I hope this doesn't have any other consequences; it looks more
  correct this way in any case.
ghc/includes/RtsFlags.h
ghc/rts/ProfHeap.c
ghc/rts/RtsFlags.c
ghc/rts/Storage.c