mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
Updates
Sat Jun 18 22:45:04 2005 Søren Sandmann <sandmann@redhat.com> * TODO: Updates * configure.ac: Check for Linux 2.6.11 * process.c (get_pidname): Present pid=-1 as [kernel]. * module/sysprof-module.c: Use register_timer_hook() instead of a kernel timer. Set trace.pid to -1 if interrupt happens in kernel.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
fb7e1ddc47
commit
18abd9e1e6
23
TODO
23
TODO
@ -14,11 +14,17 @@ Before 1.0:
|
||||
- Announce on Advogato
|
||||
- Announce on gnome-announce
|
||||
- Announce on devtools list (?)
|
||||
|
||||
Before 1.2:
|
||||
|
||||
Before 1.2:
|
||||
|
||||
* See if the auto-expanding can be made more intelligent
|
||||
|
||||
* Send entire stack to user space, then do stackwalking there
|
||||
|
||||
* If interrupt happens in kernel mode, send both
|
||||
kernel stack and user space stack, have userspace stitch them
|
||||
together.
|
||||
|
||||
* Correctness
|
||||
- When the module is unloaded, kill all processes blocking in read
|
||||
- or block unloading until all processes have exited
|
||||
@ -41,13 +47,17 @@ Before 1.2:
|
||||
UI: "generate screenshot" menu item pops up a window with
|
||||
a text area + a radio buttons "text/html". When you flick
|
||||
them, the text area is automatically updated.
|
||||
|
||||
- Fixing the oops in kernels < 2.6.11
|
||||
|
||||
- Probably just require 2.6.11 (necessary for timer interrupt
|
||||
based anyway).
|
||||
|
||||
- Make the process waiting in poll() responsible for extracting
|
||||
the backtrace. Give a copy of the entire stack rather than doing
|
||||
the walk inside the kernel. That would allow us to do more complex
|
||||
algorithms in userspace (though we'd lose the ability to do non-racy
|
||||
file naming).
|
||||
algorithms in userspace. Though we'd lose the ability to do non-racy
|
||||
file naming. We could pass a list of the process mappings though.
|
||||
|
||||
New model:
|
||||
- Two arrays,
|
||||
@ -201,6 +211,9 @@ http://www.linuxbase.org/spec/booksets/LSB-Embedded/LSB-Embedded/ehframe.html
|
||||
|
||||
Later:
|
||||
|
||||
- See if it is possible to group the X server activity under the process that
|
||||
generated it.
|
||||
|
||||
- .desktop file
|
||||
[Is this worth it? You will often want to start it as root,
|
||||
and you will need to insert the module from the command line]
|
||||
@ -348,6 +361,8 @@ Later:
|
||||
|
||||
DONE:
|
||||
|
||||
* Timer interrupt based
|
||||
|
||||
* Interface
|
||||
- Consider expanding a few more levels of a new descendants tree
|
||||
- Algorithm should be expand in proportion to the
|
||||
|
||||
Reference in New Issue
Block a user