mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Use callbacks from stackstash.
Sat Nov 5 18:06:40 2005 Soeren Sandmann <sandmann@redhat.com> * profile.c (profile_create_descendants): Use callbacks from stackstash. * stackstash.c (stack_node_foreach_trace): New function * stackstash.c (do_node_callback): New function
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
1f5b6ff38c
commit
c0aed2a4de
@ -59,6 +59,11 @@ StackNode *stack_stash_find_node (StackStash *stash,
|
||||
/* FIXME: should probably return a list */
|
||||
void stack_node_list_leaves (StackNode *node,
|
||||
GList **leaves);
|
||||
typedef void (* StackTraceFunction) (GSList *trace, gpointer data);
|
||||
void stack_node_foreach_trace (StackNode *node,
|
||||
StackTraceFunction func,
|
||||
gpointer data);
|
||||
|
||||
typedef void (* StackNodeFunc) (StackNode *node,
|
||||
gpointer data);
|
||||
void stack_stash_foreach_by_address (StackStash *stash,
|
||||
|
||||
Reference in New Issue
Block a user