platform/upstream/sysprof.git
18 years agoHandle NULL models.
Soeren Sandmann [Fri, 3 Mar 2006 03:55:04 +0000 (03:55 +0000)]
Handle NULL models.

Thu Mar  2 22:54:37 2006  Soeren Sandmann  <sandmann@redhat.com>

        * treeviewutils.c (tree_view_foreach_visible): Handle NULL models.

        * sysprof.glade, sysprof.c: Revert back to three pane layout.

18 years agoClear screenshot window when start is toggled.
Soeren Sandmann [Fri, 24 Feb 2006 07:10:42 +0000 (07:10 +0000)]
Clear screenshot window when start is toggled.

Fri Feb 24 02:09:33 2006  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (on_start_toggled): Clear screenshot window when start
        is toggled.

        * TODO: Add some notes about stack handling on the x86

18 years agofile announce-1.0.2 was initially added on branch sysprof-1-0.
Søren Sandmann Pedersen [Fri, 24 Feb 2006 02:38:31 +0000 (02:38 +0000)]
file announce-1.0.2 was initially added on branch sysprof-1-0.

18 years agoUpdate TODO
Søren Sandmann Pedersen [Mon, 20 Feb 2006 05:06:50 +0000 (05:06 +0000)]
Update TODO

18 years agomore ifdef's to make it work with Red Hat Enterprise Linux 4's 2.6.9-based
Bastien Nocera [Fri, 17 Feb 2006 15:44:55 +0000 (15:44 +0000)]
more ifdef's to make it work with Red Hat Enterprise Linux 4's 2.6.9-based

2006-02-17  Bastien Nocera  <hadess@hadess.net>

* configure.ac:
* module/sysprof-module.c: (timer_notify), (sysprof_open),
(sysprof_release): more ifdef's to make it work with Red Hat
Enterprise Linux 4's 2.6.9-based kernel

18 years agoRemove ancestors pane in favor of radiobuttons in the right pane.
Søren Sandmann [Sun, 5 Feb 2006 04:54:04 +0000 (04:54 +0000)]
Remove ancestors pane in favor of radiobuttons in the right pane.

Sat Feb  4 23:53:05 2006  Søren Sandmann  <sandmann@redhat.com>

* sysprof.glade: Remove ancestors pane in favor of radiobuttons in
the right pane.

* sysprof.c: Corresponding changes.

* TODO: Updates

18 years agoUpdates
Søren Sandmann [Wed, 25 Jan 2006 16:24:24 +0000 (16:24 +0000)]
Updates

Wed Jan 25 11:24:04 2006  Søren Sandmann  <sandmann@redhat.com>

* TODO: Updates

18 years agoUpdates
Søren Sandmann [Mon, 16 Jan 2006 16:12:44 +0000 (16:12 +0000)]
Updates

Mon Jan 16 11:12:13 2006  Søren Sandmann  <sandmann@redhat.com>

        * TODO: Updates

18 years agoPrint out sysprof version at module load time.
Soeren Sandmann [Mon, 16 Jan 2006 01:22:27 +0000 (01:22 +0000)]
Print out sysprof version at module load time.

Sun Jan 15 20:22:20 2006  Soeren Sandmann  <sandmann@redhat.com>

* module/sysprof-module.c (init_module): Print out sysprof version
at module load time.

18 years agoUpdates
Soeren Sandmann [Sun, 15 Jan 2006 05:28:04 +0000 (05:28 +0000)]
Updates

Sun Jan 15 00:24:02 2006  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: Updates

        * sysprof.c (build_gui): Rename 'callers' column 'ancestors'

        * profile.c (profile_list_callers): Make this function list all
        ancestors of the function. Also make it report correct numbers
        again.

18 years agoOnly build GUI when the necessary dependencies are found.
Soeren Sandmann [Sat, 14 Jan 2006 23:26:34 +0000 (23:26 +0000)]
Only build GUI when the necessary dependencies are found.

Sat Jan 14 18:24:43 2006  Soeren Sandmann  <sandmann@redhat.com>

        * configure.ac, Makefile.am: Only build GUI when the necessary
        dependencies are found.

        * sysprof.c (compute_text_width): Remove unused variable

        * profile.c (build_object_list): Follow next instead of siblings.

18 years agoupdates
Søren Sandmann [Sat, 14 Jan 2006 04:12:12 +0000 (04:12 +0000)]
updates

Fri Jan 13 23:11:33 2006  Søren Sandmann  <sandmann@redhat.com>

* TODO: updates

18 years agoInitialize retval.
Soeren Sandmann [Sat, 14 Jan 2006 04:00:59 +0000 (04:00 +0000)]
Initialize retval.

Fri Jan 13 22:59:48 2006  Soeren Sandmann  <sandmann@redhat.com>

* module/sysprof-module.c (sysprof_open): Initialize retval.

* module/sysprof-module.c (sysprof_read): Copy contents of trace,
not tail to the buffer.

18 years agoAlso make offset a gulong (Samuel Mimram)
Søren Sandmann [Thu, 12 Jan 2006 01:32:06 +0000 (01:32 +0000)]
Also make offset a gulong (Samuel Mimram)

Wed Jan 11 20:31:11 2006  Søren Sandmann  <sandmann@redhat.com>

       * process.c (read_maps): Also make offset a gulong (Samuel Mimram)

18 years agoRemove debug spew.
Søren Sandmann [Wed, 11 Jan 2006 22:53:08 +0000 (22:53 +0000)]
Remove debug spew.

Wed Jan 11 17:51:54 2006  Søren Sandmann  <sandmann@redhat.com>

* collector.c: Remove debug spew.

* TODO: updates

18 years agoRemove START_OF_STACK check.
Soeren Sandmann [Mon, 9 Jan 2006 14:58:42 +0000 (14:58 +0000)]
Remove START_OF_STACK check.

Mon Jan  9 09:58:25 2006  Soeren Sandmann  <sandmann@redhat.com>

* module/sysprof-module.c (timer_notify): Remove START_OF_STACK
check.

18 years agoUse gulong for addresses. Bug reported by Martin Reddy.
Soeren Sandmann [Mon, 9 Jan 2006 05:59:44 +0000 (05:59 +0000)]
Use gulong for addresses. Bug reported by Martin Reddy.

Mon Jan  9 00:59:21 2006  Soeren Sandmann  <sandmann@redhat.com>

        * process.c (read_maps): Use gulong for addresses. Bug reported by
        Martin Reddy.

18 years agoResurrect this function.
Soeren Sandmann [Sun, 8 Jan 2006 08:22:47 +0000 (08:22 +0000)]
Resurrect this function.

Sun Jan  8 03:22:22 2006  Soeren Sandmann  <sandmann@redhat.com>

* process.c (process_flush_caches): Resurrect this function.

* collector.c (collector_reset): Call it from here

18 years agoupdate
Soeren Sandmann [Sun, 8 Jan 2006 07:20:25 +0000 (07:20 +0000)]
update

Sun Jan  8 02:19:34 2006  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: update

18 years agosmall updates cosmetic updates cosmetic updates
Søren Sandmann [Thu, 5 Jan 2006 22:52:59 +0000 (22:52 +0000)]
small updates cosmetic updates cosmetic updates

Thu Jan  5 17:52:10 2006  Søren Sandmann  <sandmann@redhat.com>

* TODO: small updates
* sysprof.c: cosmetic updates
* module/sysprof-module.c: cosmetic updates

18 years agoRemove left over debug print out and add support for multiple clients
Kristian Høgsberg [Tue, 20 Dec 2005 22:45:34 +0000 (22:45 +0000)]
Remove left over debug print out and add support for multiple clients

2005-12-20  Kristian Høgsberg  <krh@redhat.com>

        * module/sysprof-module.c: Remove left over debug print out and
        add support for multiple clients (readers).

18 years agoRemove left over debug print out.
Kristian Høgsberg [Tue, 20 Dec 2005 21:30:07 +0000 (21:30 +0000)]
Remove left over debug print out.

2005-12-20  Kristian Høgsberg  <krh@redhat.com>

        * module/sysprof-module.c (sysprof_read): Remove left over debug
        print out.

18 years agoUpdates
Soeren Sandmann [Tue, 20 Dec 2005 20:51:39 +0000 (20:51 +0000)]
Updates

Tue Dec 20 16:03:29 2005  Soeren Sandmann  <sandmann@redhat.com>

* TODO: Updates

* sysprof-text.c (main): Make it try and load the module before
complaining.

18 years agoDist and install udev rule.
Kristian Høgsberg [Tue, 20 Dec 2005 17:55:03 +0000 (17:55 +0000)]
Dist and install udev rule.

2005-12-20  Kristian Høgsberg  <krh@redhat.com>

        * Makefile.am: Dist and install udev rule.

        * collector.c: (open_fd):
        * sysprof-text.c: (no_module):
        * sysprof.c: (on_start_toggled): Update device filename.

        * 60-sysprof.rules: New udev rule file to set permissions for
        sysprof char device.

        * module/sysprof-module.c: Switch kernel module to use a misc char
        device instead.  Start and stop the timer on device open and
        close instead of module load and unload.

18 years agoAdd backslashes, pointed out by Ralph Siemsen.
Søren Sandmann [Tue, 20 Dec 2005 17:20:10 +0000 (17:20 +0000)]
Add backslashes, pointed out by Ralph Siemsen.

Tue Dec 20 12:19:34 2005  Søren Sandmann  <sandmann@redhat.com>

* configure.ac: Add backslashes, pointed out by Ralph Siemsen.

18 years agoMake the tree tree-shapeed.
Søren Sandmann [Mon, 19 Dec 2005 22:39:34 +0000 (22:39 +0000)]
Make the tree tree-shapeed.

Mon Dec 19 17:39:09 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c (add_text): Make the tree tree-shapeed.

18 years agofile announce-1.0.1 was initially added on branch sysprof-1-0.
Søren Sandmann Pedersen [Mon, 19 Dec 2005 21:43:58 +0000 (21:43 +0000)]
file announce-1.0.1 was initially added on branch sysprof-1-0.

18 years ago*** empty log message ***
Søren Sandmann Pedersen [Mon, 19 Dec 2005 20:29:57 +0000 (20:29 +0000)]
*** empty log message ***

18 years agoA few formatting fixes. Hopefully make it work with x86-64.
Søren Sandmann [Mon, 19 Dec 2005 20:24:18 +0000 (20:24 +0000)]
A few formatting fixes. Hopefully make it work with x86-64.

Mon Dec 19 15:15:48 2005  Søren Sandmann  <sandmann@redhat.com>

* module/sysprof-module.c (timer_notify): A few formatting
fixes. Hopefully make it work with x86-64.

18 years agoNew function. Update screenshot window when rows are expanded and
Soeren Sandmann [Wed, 30 Nov 2005 07:12:32 +0000 (07:12 +0000)]
New function. Update screenshot window when rows are expanded and

2005-11-29  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (on_descendants_row_expanded_or_collapsed): New
        function. Update screenshot window when rows are expanded and
        collapsed.

18 years ago*** empty log message ***
Søren Sandmann Pedersen [Fri, 25 Nov 2005 03:43:24 +0000 (03:43 +0000)]
*** empty log message ***

18 years agoUpdate the screenshot window.
Soeren Sandmann [Thu, 24 Nov 2005 04:53:19 +0000 (04:53 +0000)]
Update the screenshot window.

2005-11-23  Soeren Sandmann  <sandmann@redhat.com>

* sysprof.c (update_screenshot_window): Update the screenshot
window.

18 years agoVarious cleanups
Soeren Sandmann [Wed, 23 Nov 2005 05:33:12 +0000 (05:33 +0000)]
Various cleanups

Wed Nov 23 00:44:34 2005  Soeren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c: Various cleanups

        * TODO: updates

18 years agoRemove unused pages_present() function
Soeren Sandmann [Wed, 23 Nov 2005 04:26:36 +0000 (04:26 +0000)]
Remove unused pages_present() function

Tue Nov 22 23:38:09 2005  Soeren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c: Remove unused pages_present() function

18 years agoMake configure work
Matthias Clasen [Fri, 18 Nov 2005 15:55:36 +0000 (15:55 +0000)]
Make configure work

19 years agoAdd some experimental (and unused) code to look up kernel symbols.
Soeren Sandmann [Mon, 14 Nov 2005 02:44:15 +0000 (02:44 +0000)]
Add some experimental (and unused) code to look up kernel symbols.

2005-11-13  Soeren Sandmann  <sandmann@redhat.com>

        * process.c: Add some experimental (and unused) code to look up
        kernel symbols.

19 years agoPut the vertical splitter at 3/8 * screen_width.
Soeren Sandmann [Sun, 13 Nov 2005 04:28:57 +0000 (04:28 +0000)]
Put the vertical splitter at 3/8 * screen_width.

Sat Nov 12 23:39:29 2005  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (set_sizes): Put the vertical splitter at 3/8 *
        screen_width.

        * configure.ac: Disable warning.

19 years agogreat-sage-equal-to-heaven:~/vertigo/sysprof% head -13 ChangeLog
Søren Sandmann [Sun, 13 Nov 2005 00:46:08 +0000 (00:46 +0000)]
great-sage-equal-to-heaven:~/vertigo/sysprof% head -13 ChangeLog
Sat Nov 12 19:44:43 2005  Søren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c (read_frame): New function that uses
        copy_from_user_inatomic() as check_user_pages_readable() has
        disappeared in recent kernels.

        * module/sysprof-module.c (timer_notify): Use it here.

        * TODO: Updates

        * configure.ac: Change the wording of the CVS HEAD warning as this
        change seems to also have fixed the lockup with rawhide kernels.

19 years agoAdd new tree_view_foreach_visible() function.
Soeren Sandmann [Wed, 9 Nov 2005 05:39:25 +0000 (05:39 +0000)]
Add new tree_view_foreach_visible() function.

Wed Nov  9 00:24:11 2005  Soeren Sandmann  <sandmann@redhat.com>

        * treeviewutils.[ch]: Add new tree_view_foreach_visible()
        function.

        * sysprof.c: Add update_screenshot_window() function.

19 years agoAdd beginning of a screenshot window.
Soeren Sandmann [Tue, 8 Nov 2005 04:32:19 +0000 (04:32 +0000)]
Add beginning of a screenshot window.

Mon Nov  7 23:42:26 2005  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c: Add beginning of a screenshot
        window.

        * sysprof.glade: Add screenshot window plus menu items.

        * stackstash.c: Remove unused function stack_node_list_leaves()

        * xmlstore.c: Various crack

19 years agoTest for !prev instead of !next.
Soeren Sandmann [Mon, 7 Nov 2005 03:53:20 +0000 (03:53 +0000)]
Test for !prev instead of !next.

Sun Nov  6 23:03:49 2005  Soeren Sandmann  <sandmann@redhat.com>

        * profile.c (add_trace_to_tree): Test for !prev instead of !next.

19 years agoSun Nov 6 Soeren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Mon, 7 Nov 2005 02:27:55 +0000 (02:27 +0000)]
Sun Nov 6 Soeren Sandmann <sandmann@redhat.com>

Sun Nov  6  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: updates

        * collector.c (on_read): Only call back when a new sample actually
        arrived.

        * collector.c (collector_stop): close the filedescriptor

        * sysprof.c (on_start_toggled): Change sense of test.

        * sysprof.c (ensure_profile): Stop the collector.

        * sysprof.c (on_reset_clicked): Stop the collector when state
        becomes INITIAL.

19 years agoMake these function call back with GLists rather than GSLists.
Soeren Sandmann [Sun, 6 Nov 2005 23:27:17 +0000 (23:27 +0000)]
Make these function call back with GLists rather than GSLists.

Sun Nov  6 18:31:23 2005  Soeren Sandmann  <sandmann@redhat.com>

        * stackstash.c (stack_stash_foreach):
        * stackstash.c (stack_node_foreach_trace): Make these function
        call back with GLists rather than GSLists.

        * profile.c (add_trace_to_tree): Iterate backwards instead of
        copying the list.

19 years agoTurn this function into a StackFunction.
Soeren Sandmann [Sun, 6 Nov 2005 22:10:30 +0000 (22:10 +0000)]
Turn this function into a StackFunction.

Sun Nov  6 17:06:52 2005  Soeren Sandmann  <sandmann@redhat.com>

        * profile.c (add_trace_to_tree): Turn this function into a
        StackFunction.

        * stackstash.c (stack_node_foreach_trace): Make this function take
        a StackFunction, and reimplement with do_callback().

19 years agoUse callbacks from stackstash.
Soeren Sandmann [Sat, 5 Nov 2005 22:57:09 +0000 (22:57 +0000)]
Use callbacks from stackstash.

Sat Nov  5 18:06:40 2005  Soeren Sandmann  <sandmann@redhat.com>

        * profile.c (profile_create_descendants): Use callbacks from
        stackstash.

        * stackstash.c (stack_node_foreach_trace): New function
        * stackstash.c (do_node_callback): New function

19 years agoDon't compute the total field.
Soeren Sandmann [Sat, 5 Nov 2005 17:28:22 +0000 (17:28 +0000)]
Don't compute the total field.

Sat Nov  5 12:39:33 2005  Soeren Sandmann  <sandmann@redhat.com>

        * profile.c (add_trace_to_tree): Don't compute the total field.

        * profile.h (struct ProfileDescendant): Remove 'total' field.

        * sysprof.c: Delete DESCENDANTS_TOTAL column and everything
        related to it.

        * profile.c: Remove commented out code

        * sfile.c (handle_text): Don't copy the text

19 years agoAdd copyright statement.
Soren Sandmann [Sat, 5 Nov 2005 04:58:16 +0000 (04:58 +0000)]
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.

19 years ago+2005-11-03 Soren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Sat, 5 Nov 2005 00:49:34 +0000 (00:49 +0000)]
+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.
+

19 years agoUpdate GUI after showing error message.
Soeren Sandmann [Wed, 2 Nov 2005 05:10:13 +0000 (05:10 +0000)]
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.

19 years agoAdd "total" field.
Soeren Sandmann [Tue, 1 Nov 2005 04:37:16 +0000 (04:37 +0000)]
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.

19 years agofree the profile objects.
Søren Sandmann [Tue, 1 Nov 2005 02:37:09 +0000 (02:37 +0000)]
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.

19 years agoUpdate TODO
Søren Sandmann Pedersen [Mon, 31 Oct 2005 15:21:26 +0000 (15:21 +0000)]
Update TODO

19 years agoUse APPLICATION_NAME macro
Soeren Sandmann [Mon, 31 Oct 2005 05:20:37 +0000 (05:20 +0000)]
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

19 years agoTODO
Søren Sandmann Pedersen [Mon, 31 Oct 2005 04:20:25 +0000 (04:20 +0000)]
TODO

19 years agoDon't link sysprof-text to gtk+.
Soren Sandmann [Sun, 30 Oct 2005 20:57:25 +0000 (20:57 +0000)]
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+.

19 years agoMerge stackstash-reorg branch into HEAD
Soren Sandmann [Sun, 30 Oct 2005 20:14:31 +0000 (20:14 +0000)]
Merge stackstash-reorg branch into HEAD

2005-10-30  Soren Sandmann <sandmann@redhat.com>

* Merge stackstash-reorg branch into HEAD

19 years agotweak configure.ac message
Søren Sandmann Pedersen [Sat, 29 Oct 2005 19:01:45 +0000 (19:01 +0000)]
tweak configure.ac message

19 years agoFix crash pointed reported by Rudi Chiarito.
Søren Sandmann [Sat, 29 Oct 2005 18:50:11 +0000 (18:50 +0000)]
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.

19 years agoupdates
Søren Sandmann [Sat, 29 Oct 2005 18:30:25 +0000 (18:30 +0000)]
updates

Sat Oct 29 14:29:55 2005  Søren Sandmann  <sandmann@redhat.com>

* README, TODO: updates

19 years agoAdd a warning about known bugs in the kernel module in this branch.
Søren Sandmann [Fri, 14 Oct 2005 15:45:48 +0000 (15:45 +0000)]
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.

19 years agoAdd back these constants, but this time make sure we won't divide by 0 or
Soeren Sandmann [Wed, 12 Oct 2005 02:40:29 +0000 (02:40 +0000)]
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.

19 years agoDelete lots of commented-out code.
Soeren Sandmann [Tue, 11 Oct 2005 02:48:46 +0000 (02:48 +0000)]
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.

19 years agoAdd --disable-kernel-module option. Patch from Pascal Terjan.
Søren Sandmann [Mon, 10 Oct 2005 18:35:00 +0000 (18:35 +0000)]
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.

19 years agoDon't use INTERVAL or SAMPLES_PER_SECOND now that we use
Robert Love [Mon, 10 Oct 2005 17:01:57 +0000 (17:01 +0000)]
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).

19 years agofile profiler.c was initially added on branch stackstash-reorg.
Søren Sandmann Pedersen [Sat, 1 Oct 2005 21:05:48 +0000 (21:05 +0000)]
file profiler.c was initially added on branch stackstash-reorg.

19 years agofile profiler.h was initially added on branch stackstash-reorg.
Søren Sandmann Pedersen [Sat, 1 Oct 2005 21:05:48 +0000 (21:05 +0000)]
file profiler.h was initially added on branch stackstash-reorg.

19 years agofile helper.c was initially added on branch stackstash-reorg.
Søren Sandmann Pedersen [Sat, 1 Oct 2005 05:32:07 +0000 (05:32 +0000)]
file helper.c was initially added on branch stackstash-reorg.

19 years agofile helper.h was initially added on branch stackstash-reorg.
Søren Sandmann Pedersen [Sat, 1 Oct 2005 05:32:07 +0000 (05:32 +0000)]
file helper.h was initially added on branch stackstash-reorg.

19 years agoUpdate
Soeren Sandmann [Sat, 1 Oct 2005 05:24:39 +0000 (05:24 +0000)]
Update

Sat Oct  1 01:21:57 2005  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: Update

19 years agoRevert accidental commit of stackstash reorganisation
Søren Sandmann Pedersen [Sat, 1 Oct 2005 05:23:58 +0000 (05:23 +0000)]
Revert accidental commit of stackstash reorganisation

19 years agoUpdate
Soeren Sandmann [Sat, 1 Oct 2005 05:21:25 +0000 (05:21 +0000)]
Update

Sat Oct  1 01:21:57 2005  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: Update

19 years agoUpdate TODO
Søren Sandmann Pedersen [Thu, 29 Sep 2005 02:16:31 +0000 (02:16 +0000)]
Update TODO

19 years agoUpdate TODO
Søren Sandmann Pedersen [Wed, 28 Sep 2005 18:39:25 +0000 (18:39 +0000)]
Update TODO

19 years agoAdd my name to the copyright statement
Søren Sandmann [Wed, 28 Sep 2005 16:10:39 +0000 (16:10 +0000)]
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

19 years agoIf the address is 0x01, treat as kernel, regardless of whether we have a
Soeren Sandmann [Tue, 27 Sep 2005 05:35:19 +0000 (05:35 +0000)]
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.

19 years agoBump version number to 1.1.0
Soeren Sandmann [Sat, 24 Sep 2005 18:42:24 +0000 (18:42 +0000)]
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

19 years agoNew non-GUI version, written by Lorenzo Colitti, with some changes by me.
Soeren Sandmann [Sat, 24 Sep 2005 04:14:20 +0000 (04:14 +0000)]
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

19 years agoIf the glade file doesn't exists pop up an alert suggesting running 'make
Soeren Sandmann [Sat, 24 Sep 2005 00:47:22 +0000 (00:47 +0000)]
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

19 years agoAdd 1.0 announcement sysprof-1-0-branchpoint sysprof-1.0.branchpoint
Søren Sandmann Pedersen [Sat, 17 Sep 2005 20:42:56 +0000 (20:42 +0000)]
Add 1.0 announcement

19 years agoTODO updates
Søren Sandmann Pedersen [Sat, 17 Sep 2005 19:41:04 +0000 (19:41 +0000)]
TODO updates

19 years agoBump version numbers update Updates
Soeren Sandmann [Sat, 17 Sep 2005 18:35:44 +0000 (18:35 +0000)]
Bump version numbers update Updates

Sat Sep 17 14:35:32 2005  Soeren Sandmann  <sandmann@redhat.com>

        * Bump version numbers
        * README: update
        * TODO: Updates

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sun, 4 Sep 2005 23:40:53 +0000 (23:40 +0000)]
*** empty log message ***

19 years agoUpdates
Soeren Sandmann [Sun, 4 Sep 2005 23:38:40 +0000 (23:38 +0000)]
Updates

Sun Sep  4 19:38:51 2005  Soeren Sandmann  <sandmann@redhat.com>

* TODO: Updates

19 years agoComplain if we can't find /lib/modules/`uname -r`/build/Makefile.
Søren Sandmann [Tue, 30 Aug 2005 20:58:18 +0000 (20:58 +0000)]
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

19 years agoFix some warnings.
Soeren Sandmann [Tue, 16 Aug 2005 00:40:26 +0000 (00:40 +0000)]
Fix some warnings.

Mon Aug 15 20:39:11 2005  Soeren Sandmann  <sandmann@redhat.com>

        * binfile.c, process.c, profile.c: Fix some warnings.

19 years agoAdd support for amd64/x86-64. Patch from Mike Frysinger.
Soeren Sandmann [Tue, 2 Aug 2005 03:52:30 +0000 (03:52 +0000)]
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.

19 years agoVarious minor clean-ups sysprof-0.91
Soeren Sandmann [Sun, 10 Jul 2005 14:52:41 +0000 (14:52 +0000)]
Various minor clean-ups

Sun Jul 10 10:51:52 2005  Soeren Sandmann  <sandmann@redhat.com>

        * binfile.c: Various minor clean-ups

19 years agoCache BinFiles by filename.
Soeren Sandmann [Sun, 10 Jul 2005 03:28:35 +0000 (03:28 +0000)]
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.

19 years agoUpdate TODO
Søren Sandmann Pedersen [Fri, 8 Jul 2005 02:08:02 +0000 (02:08 +0000)]
Update TODO

19 years agoAdd version information
Søren Sandmann [Sun, 19 Jun 2005 19:43:02 +0000 (19:43 +0000)]
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

19 years agoUpdates
Søren Sandmann [Sun, 19 Jun 2005 02:46:19 +0000 (02:46 +0000)]
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.

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Mon, 13 Jun 2005 00:34:11 +0000 (00:34 +0000)]
*** empty log message ***

19 years agoDisable type-ahead search for all the tree views.
Soeren Sandmann [Mon, 13 Jun 2005 00:33:51 +0000 (00:33 +0000)]
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

19 years agoUpdates
Soeren Sandmann [Sun, 12 Jun 2005 17:38:22 +0000 (17:38 +0000)]
Updates

Sun Jun 12 13:37:15 2005  Soeren Sandmann  <sandmann@redhat.com>

* TODO: Updates

19 years ago+Thu Jun 9 13:28:33 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Fri, 10 Jun 2005 01:11:53 +0000 (01:11 +0000)]
+Thu Jun  9 13:28:33 2005  Søren Sandmann  <sandmann@redhat.com>
+
+       * TODO: Updates
+

19 years agoGrab focus on the callers view, not the descendants view.
Soeren Sandmann [Thu, 26 May 2005 05:11:35 +0000 (05:11 +0000)]
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.

19 years agoRemove comment about auto* stuff, add link to
Soeren Sandmann [Mon, 23 May 2005 05:39:27 +0000 (05:39 +0000)]
Remove comment about auto* stuff, add link to

Mon May 23 01:37:26 2005  Soeren Sandmann  <sandmann@redhat.com>

        * README: Remove comment about auto* stuff, add link to

                http://www.daimi.au.dk/~sandmann/sysprof/

19 years agoUpdates sysprof-0.9
Soeren Sandmann [Mon, 23 May 2005 01:07:48 +0000 (01:07 +0000)]
Updates

Sun May 22 21:06:36 2005  Soeren Sandmann  <sandmann@redhat.com>

* TODO: Updates

19 years agoupdate
Soeren Sandmann [Sun, 22 May 2005 01:01:20 +0000 (01:01 +0000)]
update

Sat May 21 20:58:59 2005  Soeren Sandmann  <sandmann@redhat.com>

        * TODO: update

        * sysprof.c (on_menu_item_activated): New function.

        * sysprof.c (build_gui): Hook up menu items.

        * module/sysprof-module.c (init_module): Remove module_init/exit
        as they cause build failure on kernels < 2.6.11.

19 years ago+Sat May 21 00:59:38 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Sat, 21 May 2005 04:59:57 +0000 (04:59 +0000)]
+Sat May 21 00:59:38 2005  Søren Sandmann  <sandmann@redhat.com>
+
+       * TODO: update
+