mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
cce917856b
commit
d1a082ffec
@ -49,7 +49,7 @@ typedef void (* StackNodeFunc) (StackNode *node,
|
||||
|
||||
/* Stach */
|
||||
StackStash *stack_stash_new (GDestroyNotify destroy);
|
||||
StackNode * stack_node_new (void);
|
||||
StackNode * stack_node_new (StackStash *stash);
|
||||
void stack_stash_add_trace (StackStash *stash,
|
||||
gulong *addrs,
|
||||
gint n_addrs,
|
||||
|
||||
Reference in New Issue
Block a user