mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Add "total" field.
Mon Oct 31 23:41:33 2005 Soeren Sandmann <sandmann@redhat.com> * stackstash.h (struct StackNode): Add "total" field. * stackstash.c (stack_stash_add_trace): Keep track of the aggregate size. * profile.c (profile_get_size): Sum the totals of the siblings instead of all the children. * profile.c (build_object_list): Correctly compute obj->self * profile.c (profile_load): Don't ignore the node->total field. * profile.c (serialize_call_tree): Save node->total instead of the computed total * profile.c (compute_total): Use n->total instead of computing it from scratch. * profile.c: Remove unused sum_children() function. * TODO: Updates * process.c (process_get_from_pid): Plug leak.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
81ad181667
commit
c778a1b1ec
26
ChangeLog
26
ChangeLog
@ -1,3 +1,29 @@
|
||||
Mon Oct 31 23:41:33 2005 Soeren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* stackstash.h (struct StackNode): Add "total" field.
|
||||
|
||||
* stackstash.c (stack_stash_add_trace): Keep track of the
|
||||
aggregate size.
|
||||
|
||||
* profile.c (profile_get_size): Sum the totals of the siblings
|
||||
instead of all the children.
|
||||
|
||||
* profile.c (build_object_list): Correctly compute obj->self
|
||||
|
||||
* profile.c (profile_load): Don't ignore the node->total field.
|
||||
|
||||
* profile.c (serialize_call_tree): Save node->total instead of the
|
||||
computed total
|
||||
|
||||
* profile.c (compute_total): Use n->total instead of computing it
|
||||
from scratch.
|
||||
|
||||
* profile.c: Remove unused sum_children() function.
|
||||
|
||||
* TODO: Updates
|
||||
|
||||
* process.c (process_get_from_pid): Plug leak.
|
||||
|
||||
Mon Oct 31 21:36:37 2005 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* sysprof.c (fill_main_list): free the profile objects.
|
||||
|
||||
Reference in New Issue
Block a user