mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Call back after collecting all traces.
2008-03-24 Soren Sandmann <sandmann@daimi.au.dk> * collector.c (collect_traces): Call back after collecting all traces. * TODO: update * process.c: Simpler code to find vmlinux svn path=/trunk/; revision=406
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
d2a6151f8d
commit
62ffe734b0
16
TODO
16
TODO
@ -121,6 +121,22 @@ Before 1.2:
|
||||
- do heuristic stackwalk in kernel
|
||||
- do heuristic stackwalk in userland
|
||||
|
||||
- Send heuristic stack trace to user space, along with
|
||||
location on the stack. Then, in userspace analyze the
|
||||
machine code to determine the size of the stack frame at any
|
||||
point. The instructions that would need to be recognized are:
|
||||
|
||||
subl <constant>, %esp
|
||||
addl <constant>, %esp
|
||||
leave
|
||||
jcc
|
||||
push
|
||||
pop
|
||||
|
||||
GCC is unlikely to have different stack sizes at the entry
|
||||
to a basic block.
|
||||
|
||||
We can often find a vmlinux in /lib/modules/<uname-r>/build.
|
||||
|
||||
* "Expand all" is horrendously slow because update_screenshot gets called
|
||||
for every "expanded" signal. In fact even normal expanding is really
|
||||
|
||||
Reference in New Issue
Block a user