reset the collector after generating the profile.

2006-11-20  Soren Sandmann <sandmann@daimi.au.dk>

        * sysprof.c (ensure_profile): reset the collector after generating
        the profile.

        * stackstash.c (struct StackStash): Add cached_nodes and blocks.
        (stack_node_new): Allocate stack nodes in blocks.
This commit is contained in:
Soren Sandmann
2006-11-20 07:25:02 +00:00
committed by Søren Sandmann Pedersen
parent cce917856b
commit d1a082ffec
6 changed files with 75 additions and 44 deletions

View File

@ -398,7 +398,7 @@ collector_create_profile (Collector *collector)
profile = profile_new (info.resolved_stash);
stack_stash_unref (info.resolved_stash);
return profile;
}