mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
e2150fc188
commit
d78e744422
5
TODO
5
TODO
@ -433,7 +433,10 @@ http://www.linuxbase.org/spec/booksets/LSB-Embedded/LSB-Embedded/ehframe.html
|
||||
|
||||
- Have kernel module report the file the address was found in
|
||||
Should avoid a lot of potential broken/raciness with dlopen etc.
|
||||
Probably better to send a list of maps with each trace.
|
||||
Probably better to send a list of maps with each trace. Which
|
||||
shouldn't really be that expensive. We already walk the list of
|
||||
maps in process_ensure_map() on every trace. And we can do hashing
|
||||
if it turns out to be a problem.
|
||||
|
||||
- Figure out how Google's pprof script works. Then add real call graph
|
||||
drawing. (google's script is really simple; uses dot from graphviz).
|
||||
|
||||
Reference in New Issue
Block a user