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

@ -656,6 +656,7 @@ ensure_profile (Application *app)
app->profile = collector_create_profile (app->collector);
collector_stop (app->collector);
collector_reset (app->collector);
fill_lists (app);