mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Only build GUI when the necessary dependencies are found.
Sat Jan 14 18:24:43 2006 Soeren Sandmann <sandmann@redhat.com> * configure.ac, Makefile.am: Only build GUI when the necessary dependencies are found. * sysprof.c (compute_text_width): Remove unused variable * profile.c (build_object_list): Follow next instead of siblings.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
9125c4e644
commit
98308836af
@ -331,6 +331,8 @@ profile_create_descendants (Profile *profile,
|
||||
|
||||
while (node)
|
||||
{
|
||||
g_print ("node: %s (%d)\n", node->address, node->size);
|
||||
|
||||
if (node->toplevel)
|
||||
stack_node_foreach_trace (node, add_trace_to_tree, &tree);
|
||||
|
||||
@ -473,7 +475,7 @@ build_object_list (StackNode *node, gpointer data)
|
||||
obj->total = compute_total (node);
|
||||
|
||||
obj->self = 0;
|
||||
for (n = node; n != NULL; n = n->siblings)
|
||||
for (n = node; n != NULL; n = n->next)
|
||||
obj->self += n->size;
|
||||
|
||||
*objects = g_list_prepend (*objects, obj);
|
||||
|
||||
Reference in New Issue
Block a user