Commit Graph

166 Commits

Author SHA1 Message Date
cf761a2a70 Add copyright statement.
2005-11-04  Soren Sandmann  <sandmann@redhat.com>

        * collector.[ch]: Add copyright statement.

        * collector.c (on_read): Handle time getting set backwards.

        * collector.c: Remove unused empty_filedescriptor() function.
2005-11-05 04:58:16 +00:00
5bddcf4af9 +2005-11-03 Soren Sandmann <sandmann@redhat.com>
+
+       * configure.ac: Make the message about the kernel source package
+       more informative. Code from Kjetil Torgrim Homme.
+
+       * sysprof.c (on_start_toggled): Only delete the data if the
+       profiling can actually be started.
+
2005-11-05 00:49:34 +00:00
4f270a0f48 Update GUI after showing error message.
2005-11-01  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (on_start_toggled): Update GUI after showing error
        message.

        * sysprof.glade: Rename File menu Profiler, move
        Start/Profile/Reset here, delete View menu.
2005-11-02 05:10:13 +00:00
c778a1b1ec Add "total" field.
Mon Oct 31 23:41:33 2005  Soeren Sandmann  <sandmann@redhat.com>

        * stackstash.h (struct StackNode): Add "total" field.

        * stackstash.c (stack_stash_add_trace): Keep track of the
        aggregate size.

        * profile.c (profile_get_size): Sum the totals of the siblings
        instead of all the children.

        * profile.c (build_object_list): Correctly compute obj->self

        * profile.c (profile_load): Don't ignore the node->total field.

        * profile.c (serialize_call_tree): Save node->total instead of the
        computed total

        * profile.c (compute_total): Use n->total instead of computing it
        from scratch.

        * profile.c: Remove unused sum_children() function.

        * TODO: Updates

        * process.c (process_get_from_pid): Plug leak.
2005-11-01 04:37:16 +00:00
81ad181667 free the profile objects.
Mon Oct 31 21:36:37 2005  Søren Sandmann  <sandmann@redhat.com>

        * sysprof.c (fill_main_list): free the profile objects.

        * sysprof.c (struct Application): Remove unused variable.
2005-11-01 02:37:09 +00:00
fe134ed8a2 Update TODO 2005-10-31 15:21:26 +00:00
ec8798a8b1 Use APPLICATION_NAME macro
Mon Oct 31 00:22:58 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (set_application_title): Use APPLICATION_NAME macro

	* sysprof.c (load_file): Don't leak the FileOpenData

	* TODO: updates
2005-10-31 05:20:37 +00:00
c34a9b862f TODO 2005-10-31 04:20:25 +00:00
60757b6977 Don't link sysprof-text to gtk+.
2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* configure.ac, Makefile.am: Don't link sysprof-text to gtk+.
2005-10-30 20:57:25 +00:00
dff4affaab Merge stackstash-reorg branch into HEAD
2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* Merge stackstash-reorg branch into HEAD
2005-10-30 20:14:31 +00:00
3783be00a8 tweak configure.ac message 2005-10-29 19:01:45 +00:00
ba8f13a606 Fix crash pointed reported by Rudi Chiarito.
Sat Oct 29 14:43:00 2005  Søren Sandmann  <sandmann@redhat.com>

        Fix crash pointed reported by Rudi Chiarito.

        * stackstash.c (stack_stash_add_trace): Just return if
        n_addrs is 0.

        * sysprof.c (on_read): Only trace if n_addresses != 0.
2005-10-29 18:50:11 +00:00
d598799b23 updates
Sat Oct 29 14:29:55 2005  Søren Sandmann  <sandmann@redhat.com>

	* README, TODO: updates
2005-10-29 18:30:25 +00:00
3d43e894fd Add a warning about known bugs in the kernel module in this branch.
Fri Oct 14 11:44:43 2005  Søren Sandmann  <sandmann@redhat.com>

        * configure.ac: Add a warning about known bugs in the kernel
        module in this branch.

        * TODO: updates.
2005-10-14 15:45:48 +00:00
a49ae59709 Add back these constants, but this time make sure we won't divide by 0 or
Tue Oct 11 22:40:24 2005  Soeren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c (SAMPLES_PER_SECOND): Add back these
        constants, but this time make sure we won't divide by 0 or
        anything like that.
2005-10-12 02:40:29 +00:00
e5987543b0 Delete lots of commented-out code.
Mon Oct 10 22:49:03 2005  Soeren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c: Delete lots of commented-out code.
2005-10-11 02:48:46 +00:00
f910d769ed Add --disable-kernel-module option. Patch from Pascal Terjan.
Mon Oct 10 14:33:50 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Add --disable-kernel-module option. Patch from
	Pascal Terjan.
2005-10-10 18:35:00 +00:00
58073ffba8 Don't use INTERVAL or SAMPLES_PER_SECOND now that we use
Mon Oct 10 13:00:20 2005  Robert Love  <rml@novell.com>

        * module/sysprof-module.c: Don't use INTERVAL or SAMPLES_PER_SECOND
          now that we use register_timer_hook(), which hits off the timer
          interrupt at HZ freqency (1/250 second on x86).
2005-10-10 17:01:57 +00:00
89439e45f6 file profiler.c was initially added on branch stackstash-reorg. 2005-10-01 21:05:48 +00:00
11a4dfd28f file profiler.h was initially added on branch stackstash-reorg. 2005-10-01 21:05:48 +00:00
52f6186236 file helper.c was initially added on branch stackstash-reorg. 2005-10-01 05:32:07 +00:00
f95bfcdfe6 file helper.h was initially added on branch stackstash-reorg. 2005-10-01 05:32:07 +00:00
e67d1b4856 Update
Sat Oct  1 01:21:57 2005  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: Update
2005-10-01 05:24:39 +00:00
f7e888e574 Revert accidental commit of stackstash reorganisation 2005-10-01 05:23:58 +00:00
cc1055d105 Update
Sat Oct  1 01:21:57 2005  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: Update
2005-10-01 05:21:25 +00:00
1b21157a12 Update TODO 2005-09-29 02:16:31 +00:00
0c0e514def Update TODO 2005-09-28 18:39:25 +00:00
d63ec45acb Add my name to the copyright statement
Wed Sep 28 12:08:32 2005  Søren Sandmann  <sandmann@redhat.com>

        * sysprof-text.c: Add my name to the copyright statement
2005-09-28 16:10:39 +00:00
bce3b1fea6 If the address is 0x01, treat as kernel, regardless of whether we have a
Tue Sep 27 01:33:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* process.c (process_lookup_symbol): If the address is 0x01, treat
	as kernel, regardless of whether we have a map for that address or
	not.

	* module/sysprof-module.c (timer_notify): Take a stack trace of
	the current process, even when we are in kernel mode. This way we
	can assign kernel activity to individual user space stacktraces.

	* TODO: updates.
2005-09-27 05:35:19 +00:00
665d680c46 Bump version number to 1.1.0
Sat Sep 24 14:41:23 2005  Soeren Sandmann  <sandmann@redhat.com>

	* configure.ac: Bump version number to 1.1.0

	* signal-handler.c: Many, mostly cosmetic, cleanups

	* sysprof-text.c: uninstall signal handlers when exiting
2005-09-24 18:42:24 +00:00
e2fb3b2985 New non-GUI version, written by Lorenzo Colitti, with some changes by me.
Sat Sep 24 00:01:42 2005  Soeren Sandmann  <sandmann@redhat.com>

	* Nakefile.am, sysprof-text.c: New non-GUI version, written
	by Lorenzo Colitti, with some changes by me.

	* signal-handler.[ch]: New files that provide a way to get UNIX
	signals into a glib main loop.

	* README: add Lorenzo to credits
2005-09-24 04:14:20 +00:00
03feea82e4 If the glade file doesn't exists pop up an alert suggesting running 'make
Fri Sep 23 20:46:40 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): If the glade file doesn't exists pop up
	an alert suggesting running 'make install'

	* sysprof.c: Remove some commented out code
2005-09-24 00:47:22 +00:00
15baed047a Add 1.0 announcement 2005-09-17 20:42:56 +00:00
21f3f90ccb TODO updates 2005-09-17 19:41:04 +00:00
9dddb6d160 Bump version numbers update Updates
Sat Sep 17 14:35:32 2005  Soeren Sandmann  <sandmann@redhat.com>

        * Bump version numbers
        * README: update
        * TODO: Updates
2005-09-17 18:35:44 +00:00
6e37d7848c *** empty log message *** 2005-09-04 23:40:53 +00:00
22d05ac014 Updates
Sun Sep  4 19:38:51 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates
2005-09-04 23:38:40 +00:00
ee53bcffd4 Complain if we can't find /lib/modules/uname -r/build/Makefile.
Tue Aug 30 16:57:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Complain if we can't find /lib/modules/`uname
	-r`/build/Makefile.

	* process.c (process_lookup_symbol): Take an address of 0x1 to
	mean "in kernel".

	* module/sysprof-module.c (timer_notify): When reporting in-kernel
	time, give the current pid instead of -1.

	* TODO: updates
2005-08-30 20:58:18 +00:00
509d5f07ed Fix some warnings.
Mon Aug 15 20:39:11 2005  Soeren Sandmann  <sandmann@redhat.com>

        * binfile.c, process.c, profile.c: Fix some warnings.
2005-08-16 00:40:26 +00:00
fbc7b471d2 Add support for amd64/x86-64. Patch from Mike Frysinger.
Mon Aug  1 23:49:51 2005  Soeren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c (REG_INS_PTR): Add support for
        amd64/x86-64. Patch from Mike Frysinger.
2005-08-02 03:52:30 +00:00
775a1e3c5d Various minor clean-ups
Sun Jul 10 10:51:52 2005  Soeren Sandmann  <sandmann@redhat.com>

        * binfile.c: Various minor clean-ups
2005-07-10 14:52:41 +00:00
f3b78b7944 Cache BinFiles by filename.
Sat Jul  9 23:20:39 2005  Soeren Sandmann  <sandmann@redhat.com>

	* binfile.c (bin_file_new): Cache BinFiles by filename.

	* stackstash.c (stack_stash_free): Plug leak

	* process.c (process_free_maps): Plug leak

	* module/Makefile (install): Check that depmod exists before
	running it.
2005-07-10 03:28:35 +00:00
3459f764d7 Update TODO 2005-07-08 02:08:02 +00:00
8e4696a4a1 Add version information
Sun Jun 19 15:39:50 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_about_activated): Add version information

	* configure.ac: Bump version to 0.91

	* README: Updates
2005-06-19 19:43:02 +00:00
18abd9e1e6 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.
2005-06-19 02:46:19 +00:00
fb7e1ddc47 *** empty log message *** 2005-06-13 00:34:11 +00:00
088a822edc Disable type-ahead search for all the tree views.
Sun Jun 12 20:30:37 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): Disable type-ahead search for all the
	tree views.

	* sysprof.c (on_object_selection_changed): Call it from here

	* sysprof.c (expand_descendants_tree): New function that
	determines what nodes to expand in the descendatns view.

	* TODO
2005-06-13 00:33:51 +00:00
82a87202c1 Updates
Sun Jun 12 13:37:15 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates
2005-06-12 17:38:22 +00:00
a2499b571f +Thu Jun 9 13:28:33 2005 Søren Sandmann <sandmann@redhat.com>
+
+       * TODO: Updates
+
2005-06-10 01:11:53 +00:00
5cb9392775 Grab focus on the callers view, not the descendants view.
Thu May 26 01:10:45 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_callers_row_activated): Grab focus on the callers
	view, not the descendants view.

	* sysprof.c (on_read): Add a short "dead" period after a reset,
	so that 'samples' will actually be 0 for a while.
2005-05-26 05:11:35 +00:00