mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Use stack_node_new() o (profile_load): Use set_root() instead of
2006-11-19 Soren Sandmann <sandmann@redhat.com> * profile.c (profile_load): Use stack_node_new() o (profile_load): Use set_root() instead of new_from_root(); * stackstash.c (stack_stash_new_from_root): Delete this function (stack_stash_set_root): Add this function (stack_node_new): Export this function
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
9af533a11f
commit
0b718ee95c
@ -49,8 +49,7 @@ typedef void (* StackNodeFunc) (StackNode *node,
|
||||
|
||||
/* Stach */
|
||||
StackStash *stack_stash_new (GDestroyNotify destroy);
|
||||
StackStash *stack_stash_new_from_root (StackNode *root,
|
||||
GDestroyNotify destroy);
|
||||
StackNode * stack_node_new (void);
|
||||
void stack_stash_add_trace (StackStash *stash,
|
||||
gulong *addrs,
|
||||
gint n_addrs,
|
||||
@ -69,6 +68,7 @@ void stack_stash_foreach_by_address (StackStash *stash,
|
||||
StackNode *stack_stash_get_root (StackStash *stash);
|
||||
StackStash *stack_stash_ref (StackStash *stash);
|
||||
void stack_stash_unref (StackStash *stash);
|
||||
|
||||
void stack_stash_set_root (StackStash *stash,
|
||||
StackNode *root);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user