mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Update
Sat Oct 1 01:21:57 2005 Soeren Sandmann <sandmann@redhat.com> * TODO: Update
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
1b21157a12
commit
cc1055d105
10
profile.c
10
profile.c
@ -349,10 +349,12 @@ struct Info
|
||||
};
|
||||
|
||||
static void
|
||||
generate_object_table (Process *process, GSList *trace, gint size, gpointer data)
|
||||
generate_object_table (GSList *trace, gint size, gpointer data)
|
||||
{
|
||||
Info *info = data;
|
||||
GSList *list;
|
||||
Process *process = trace->data;
|
||||
trace = trace->next;
|
||||
|
||||
ensure_profile_object (info->profile_objects, process, 0);
|
||||
|
||||
@ -444,12 +446,14 @@ dump_trace (GSList *trace)
|
||||
#endif
|
||||
|
||||
static void
|
||||
generate_call_tree (Process *process, GSList *trace, gint size, gpointer data)
|
||||
generate_call_tree (GSList *trace, gint size, gpointer data)
|
||||
{
|
||||
Info *info = data;
|
||||
Node *match = NULL;
|
||||
ProfileObject *proc = lookup_profile_object (info->profile_objects, process, 0);
|
||||
GHashTable *seen_objects;
|
||||
Process *process = trace->data;
|
||||
trace = trace->next;
|
||||
ProfileObject *proc = lookup_profile_object (info->profile_objects, process, 0);
|
||||
|
||||
for (match = info->profile->call_tree; match; match = match->siblings)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user