Make the pointer array static to improve cache behavior and reduce calls

2006-10-25  Soren Sandmann <sandmann@daimi.au.dk>

        * profile.c (add_trace_to_tree): Make the pointer array static to
        improve cache behavior and reduce calls to malloc().

        * process.c (lookup_kernel_symbol): Remove obsolete comment.
This commit is contained in:
Soren Sandmann
2006-10-26 05:13:16 +00:00
committed by Søren Sandmann Pedersen
parent e2150fc188
commit d78e744422
4 changed files with 17 additions and 15 deletions

View File

@ -1,3 +1,10 @@
2006-10-25 Soren Sandmann <sandmann@daimi.au.dk>
* profile.c (add_trace_to_tree): Make the pointer array static to
improve cache behavior and reduce calls to malloc().
* process.c (lookup_kernel_symbol): Remove obsolete comment.
2006-10-25 Soren Sandmann <sandmann@daimi.au.dk>
* process.c (free_maps): Take a pointer to a variable that will be