Commit Graph

46 Commits

Author SHA1 Message Date
582efc99b2 Another desparate hack to try and prevent the oops.
Fri May  6 23:38:48 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (do_generate): Another desparate hack to try
	and prevent the oops.
2005-05-07 14:59:45 +00:00
914d8bf668 Updates
Sat Apr 30 15:44:12 2005  Søren Sandmann  <sandmann@redhat.com>

        * TODO: Updates

        * sysprof-module.c (get_regs): Change the way we get registers for
        a task so that it works with 2.6.11
2005-04-30 19:50:29 +00:00
753eb9378b New function to check if the page is readable before reading. Noop on
Sat Apr 23 17:49:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (page_readable): New function to check if the
	page is readable before reading. Noop on kernel <= 2.6.11

	* sysprof-module.c (get_mm, put_mm): New functions to confine
	#ifdefs.
2005-04-23 21:53:16 +00:00
7b67e2c6b9 On >= 2.6.11 check that the pages are present and readable before reading
Fri Apr 22 00:09:16 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (read_user_space): On >= 2.6.11 check that the
	pages are present and readable before reading them.
2005-04-22 04:14:37 +00:00
023ce06615 Read a whole page at a time.
Sat Apr 16 19:51:48 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (read_user_space): Read a whole page at a time.
2005-04-16 23:57:00 +00:00
2b0ca11c6c +Sat Apr 16 14:15:55 2005 Soeren Sandmann <sandmann@redhat.com>
+
+       * TODO: Update
+
+       * sysprof-module.c (x_access_process_vm): On kernel 2.6.9 and
+       later use get_task_mm()/mmput() instead of directly accessing
+       task->mm.
+
2005-04-16 21:08:44 +00:00
a3b1e000e6 updates
Fri Apr 15 16:37:45 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: updates

	* sysprof.c (sorry): If you hit profile when the module isn't
	loaded, pop up an annoying dialog.

	* sysprof-module.c: Clean-ups, remove various unused abstractions.
2005-04-15 20:38:58 +00:00
b3c466debf Remove debug spew
Sat Apr  9 17:04:50 2005  Søren Sandmann  <sandmann@redhat.com>

	* Makefile: Remove debug spew

	* *: Add copyright notices
2005-04-09 21:17:24 +00:00
700cf9c967 Make it compile with kernel 2.6.11
Tue Apr  5 14:34:43 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (x_access_process_vm): Make it compile with
	kernel 2.6.11

	* TODO: updates
2005-04-05 18:37:13 +00:00
9bddb58d92 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.
2005-04-04 03:53:32 +00:00
6c408203c2 Put current process to sleep.
Sun Apr  3 17:03:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (queue_generate_stack_trace): Put current
	process to sleep.

	* sysprof-module.c (do_generate): Wake up the traced process
2005-04-03 22:06:00 +00:00
39162c394a Walk all threads, not just all processes.
Thu Mar 31 19:51:51 2005  Søren Sandmann  <sandmann@redhat.com>

        * sysprof-module.c (do_generate): Walk all threads, not just all
        processes.

        * TODO: Add disk profiling ideas
2005-04-01 00:58:48 +00:00
64a1ac6355 Fix small bug in add_timeout() More descriptive tree labels update
Sat Mar 12 11:05:19 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c: Fix small bug in add_timeout()
	* sysprof.c (build_gui): More descriptive tree labels
	* TODO: update
2005-03-12 16:05:58 +00:00
5dec3764c1 Some updates - add note about SMP kernels.
Fri Jan 21 11:23:54 2005  Søren Sandmann  <sandmann@redhat.com>

	* README: Some updates - add note about SMP kernels.

	* sysprof-module.c: Go back to just sampling the current
	process.

	* ChangeLog: I guess these do make sense, so start one.
2005-01-21 16:27:41 +00:00
6ecc4be164 Revert to something less broken 2004-12-23 19:20:31 +00:00
dd900dce1c *** empty log message *** 2004-11-24 23:11:28 +00:00
81a527a31d *** empty log message *** 2004-11-24 18:39:35 +00:00
c5b66034c5 *** empty log message *** 2004-11-23 00:10:55 +00:00
95ca4eaa27 *** empty log message *** 2004-11-23 00:01:11 +00:00
7f02ecd503 *** empty log message *** 2004-11-21 23:33:56 +00:00
a0100c8865 doh 2004-11-21 23:32:40 +00:00
6583d59e18 *** empty log message *** 2004-11-21 23:22:42 +00:00
0ecfd15116 *** empty log message *** 2004-11-21 23:13:16 +00:00
77e836d347 Sample all running tasks, not just current 2004-11-21 22:46:00 +00:00
3b6a53efaf *** empty log message *** 2004-11-17 23:37:44 +00:00
17e3ce236b various small fixes 2004-11-12 15:21:07 +00:00
c27b97c7c0 *** empty log message *** 2004-11-05 16:57:40 +00:00
1fa465fb26 *** empty log message *** 2004-11-04 15:25:39 +00:00
e6a160f291 *** empty log message *** 2004-11-02 17:40:28 +00:00
64b015875c *** empty log message *** 2004-11-02 15:48:04 +00:00
786bef0abb *** empty log message *** 2004-11-02 14:48:19 +00:00
9140810664 *** empty log message *** 2004-11-01 01:21:49 +00:00
c17e09d10c Performance improvements 2004-11-01 01:11:52 +00:00
7487166139 Seems to work 2004-10-30 04:26:32 +00:00
7b07956eb3 Hey, it appears to not crash 2004-10-29 22:27:30 +00:00
aacf216239 Improve 2.6 port 2004-09-06 20:29:03 +00:00
1e0ed9e3ac *** empty log message *** 2004-06-19 21:35:40 +00:00
d7b4e3f96a more samples per secnds 2004-06-17 20:38:37 +00:00
5e2c688d8d fix read and poll 2004-06-17 19:32:03 +00:00
33372e3479 Port to 2.6 - remove non-working disk crap 2004-06-17 17:37:33 +00:00
be110fd2da Comment out disk profiler setup 2004-05-23 14:43:16 +00:00
62e4d93d86 cpu_profiler = 1 2004-05-03 18:58:28 +00:00
04b1b297af disable stack traces for page faults 2004-04-29 18:36:23 +00:00
649512d961 better disk profiling 2004-04-29 17:29:09 +00:00
a0b578bba5 set cpu_profiler = 1 2004-04-27 16:59:32 +00:00
43dddf31ac Initial revision 2004-04-27 11:08:55 +00:00