Sat Oct  1 01:21:57 2005  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: Update
This commit is contained in:
Soeren Sandmann
2005-10-01 05:21:25 +00:00
committed by Søren Sandmann Pedersen
parent 1b21157a12
commit cc1055d105
8 changed files with 99 additions and 130 deletions

View File

@ -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)
{