Re-schedule the timeout here instead of in on_timer().

Sun Apr  3 23:28:45 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (do_generate): Re-schedule the timeout here
	instead of in on_timer().

	* sysprof-module.c (on_timer): Only block tasks in the
	TASK_RUNNING state.
This commit is contained in:
Soeren Sandmann
2005-04-04 03:53:32 +00:00
committed by Søren Sandmann Pedersen
parent 6c408203c2
commit 9bddb58d92
3 changed files with 29 additions and 45 deletions

10
TODO
View File

@ -1,6 +1,7 @@
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
@ -18,7 +19,7 @@ Before 1.0:
- hook up menu items view/start etc (or possibly get rid of them or move
them)
- give profiles on the command line
- autoconfuscate?
- auto*?
- .desktop file
- Consider expanding a few more levels of a new descendants tree
@ -81,10 +82,6 @@ Before 1.2:
- hide internal stuff in ProfileDescendant
- kernel module should put process to sleep before sampling. Should get us
more accurate data
Later:
- Figure out how Google's pprof script works. Then add real call graph
@ -154,6 +151,9 @@ Later:
DONE:
- kernel module should put process to sleep before sampling. Should get us
more accurate data
- Make sure samples label shows correct nunber after Open
- Move "samples" label to the toolbar, then get rid of statusbar.