X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FProfHeap.c;h=b9fc7b309cdf2c433d312bdc9dfecc033b7d8b9b;hb=7cb1d9274e84ee2fc2dd610aa4f7686586ca0357;hp=f446d0b09b080d931f58827db5c2d3aaca13f029;hpb=9a0030858ea9f26bb8fddc920f217f431f5bdebb;p=ghc-hetmet.git diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index f446d0b..b9fc7b3 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -15,6 +15,7 @@ #include "Stats.h" #include "Hash.h" #include "RetainerProfile.h" +#include "LdvProfile.h" #include "Arena.h" #include "Printer.h" @@ -1085,7 +1086,7 @@ heapCensus( void ) // Traverse the heap, collecting the census info if (RtsFlags.GcFlags.generations == 1) { - heapCensusChain( census, g0s0->blocks ); + heapCensusChain( census, g0->steps[0].blocks ); } else { for (g = 0; g < RtsFlags.GcFlags.generations; g++) { for (s = 0; s < generations[g].n_steps; s++) {