mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Updates
2007-11-16 Soren Sandmann <sandmann@daimi.au.dk> * TODO: Updates * process.c (process_locate_map): Move map to front * profile.c (profile_load): Ignore the toplevel field in the file since we can compute it ourselves. * stackstash.c (stack_stash_decorate): New function * stackstash.c (stack_stash_add_trace): Decorate the tree lazily instead of on each sample. svn path=/trunk/; revision=387
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
0118fb459b
commit
d82fe2e474
@ -191,7 +191,6 @@ profile_load (const char *filename, GError **err)
|
||||
for (i = 0; i < n; ++i)
|
||||
{
|
||||
StackNode *node = stack_node_new (profile->stash);
|
||||
gboolean toplevel;
|
||||
gint32 size;
|
||||
gint32 total;
|
||||
|
||||
@ -203,10 +202,9 @@ profile_load (const char *filename, GError **err)
|
||||
sfile_get_pointer (input, "parent", (gpointer *)&node->parent);
|
||||
sfile_get_integer (input, "total", &total);
|
||||
sfile_get_integer (input, "self", (gint32 *)&size);
|
||||
sfile_get_integer (input, "toplevel", &toplevel);
|
||||
sfile_get_integer (input, "toplevel", NULL);
|
||||
|
||||
node->total = total;
|
||||
node->toplevel = toplevel;
|
||||
node->size = size;
|
||||
|
||||
sfile_end_get (input, "node", node);
|
||||
|
||||
Reference in New Issue
Block a user