Busy cursors in many more places.

Mon Apr  4 00:57:11 2005  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c: Busy cursors in many more places.

        * TODO: updates
This commit is contained in:
Soeren Sandmann
2005-04-04 06:19:16 +00:00
committed by Søren Sandmann Pedersen
parent 9bddb58d92
commit 4a4a5fc5ca
3 changed files with 78 additions and 35 deletions

62
TODO
View File

@ -1,27 +1,29 @@
Before 1.0:
- grep FIXME
- When the module is unloaded, kill all processes blocking in read
- Need to make "make install" work (how do you know where to install
kernel modules?)
- Find out what distributions it actually works on
(ask for sucess stories in 0.9.x releases)
- hook up about box
- Need an icon
- Add busy cursors,
- when you hit "Profile"
- when you click something in the main list and we don't respond
within 50ms (or perhaps when we expect to not be able to do
so (can we know the size in advance?))
- Sould just install the kernel module if it running as root, pop up
a dialog if not. Note we must be able to start without module now, since
it is useful to just load profiles from disk.
- hook up menu items view/start etc (or possibly get rid of them or move
them)
- give profiles on the command line
- auto*?
- .desktop file
- Consider expanding a few more levels of a new descendants tree
* Correctness
- grep FIXME
- When the module is unloaded, kill all processes blocking in read
* Interface
- hook up about box
- Need an icon
- If the current profile has a name, display it in the title bar
- Sould just install the kernel module if it running as root, pop up
a dialog if not. Note we must be able to start without module now,
since it is useful to just load profiles from disk.
- hook up menu items view/start etc (or possibly get rid of them or
move them)
- Consider expanding a few more levels of a new descendants tree
- give profiles on the command line
* Build system
- Need to make "make install" work (how do you know where to install
kernel modules?)
- Find out what distributions it actually works on
(ask for sucess/failure-stories in 0.9.x releases)
- auto*?
- .desktop file
- translations
Before 1.2:
@ -48,6 +50,10 @@ Before 1.2:
- Charge 'self' properly to processes that don't get any stack trace at all
(probably we get that for free with stackstash reorganisation)
- support more than one reader of the samples properly
- Don't generate them if noone cares
- When not profiling, sysprof shouldn't care
- Add ability to show more than one function at a time. Algorithm:
Find all relevant nodes;
For each relevant node
@ -80,13 +86,13 @@ Before 1.2:
dump the data to a network socket. Should be able to react to eg.
SIGUSR1 by dumping the data.
- Figure out how Google's pprof script works. Then add real call graph
drawing. (google's script is really simple; uses dot from graphviz).
- hide internal stuff in ProfileDescendant
Later:
- Figure out how Google's pprof script works. Then add real call graph
drawing.
- Find out how to hack around gtk+ bug causing multiple double clicks
to get eaten.
@ -151,6 +157,12 @@ Later:
DONE:
- Add busy cursors,
- when you hit "Profile"
- when you click something in the main list and we don't respond
within 50ms (or perhaps when we expect to not be able to do
so (can we know the size in advance?))
- kernel module should put process to sleep before sampling. Should get us
more accurate data