platform/upstream/sysprof.git
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
+

19 years agoRemove ref-counting since it didn't actually do any good.
Søren Sandmann [Thu, 19 May 2005 02:27:18 +0000 (02:27 +0000)]
Remove ref-counting since it didn't actually do any good.

Wed May 18 22:21:52 2005  Søren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c: Remove ref-counting since it didn't
        actually do any good.

        * sysprof.c (load_module): Use g_spawn_command_line_sync() instaed
        of system().

19 years agoFirst attempt at making module robust agains unloading when in use.
Søren Sandmann [Sun, 15 May 2005 15:57:33 +0000 (15:57 +0000)]
First attempt at making module robust agains unloading when in use.

Sun May 15 11:56:30 2005  Søren Sandmann  <sandmann@redhat.com>

* module/sysprof-module.c: First attempt at making module robust
agains unloading when in use.

19 years agoDo more-or-less what the automake manual suggests about foreign
Soeren Sandmann [Sun, 15 May 2005 14:25:02 +0000 (14:25 +0000)]
Do more-or-less what the automake manual suggests about foreign

Sun May 15 10:24:09 2005  Soeren Sandmann  <sandmann@redhat.com>

* Makefile.am, module/Makefile: Do more-or-less what the automake
manual suggests about foreign subdirectories.

19 years agoUpdate the title bar on load/save
Søren Sandmann [Sat, 14 May 2005 20:38:03 +0000 (20:38 +0000)]
Update the title bar on load/save

Sat May 14 16:36:32 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c (set_application_title): Update the title bar on
load/save

* treeviewutils.c, sfile.c: Fix compiler warnings

* Makefile.am: define PIXMAPDIR

Sat May 14 15:49:52 2005  Søren Sandmann  <sandmann@redhat.com>

Auto*ify.

* TODO: updates

* AUTHORS, INSTALL, Makefile.am, NEWS, configure.ac: New files

* module/Makefile: New file

* module/sysprof-module.c, module/sysprof-module.h: Move these
files to their own directy, as the kernel build system does not
work very well with auto*.

* sysprof.c, autogen.sh: Some auto* changes.

19 years agoAuto*ify.
Søren Sandmann [Sat, 14 May 2005 19:53:53 +0000 (19:53 +0000)]
Auto*ify.

Sat May 14 15:49:52 2005  Søren Sandmann  <sandmann@redhat.com>

Auto*ify.

* TODO: updates

* AUTHORS, INSTALL, Makefile.am, NEWS, configure.ac: New files

* module/Makefile: New file

* module/sysprof-module.c, module/sysprof-module.h: Move these
files to their own directy, as the kernel build system does not
work very well with auto*.

* sysprof.c, autogen.sh: Some auto* changes.

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Tue, 10 May 2005 13:07:20 +0000 (13:07 +0000)]
*** empty log message ***

19 years agomore updates
Søren Sandmann [Sun, 8 May 2005 20:34:04 +0000 (20:34 +0000)]
more updates

Sun May  8 16:31:32 2005  Søren Sandmann  <sandmann@redhat.com>

        * TODO: more updates

        * sysprof.c: Try loading the module before complaining

19 years agoRestore lost wake_up().
Søren Sandmann [Sun, 8 May 2005 19:49:26 +0000 (19:49 +0000)]
Restore lost wake_up().

Sun May  8 15:45:08 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof-module.c (do_generate): Restore lost wake_up().

* sfile.c: Comment out use of bz2.

* Makefile: Add an install target. Add GLADE_DIR and PIXMAP_DIR

* sysprof.c (build_gui): use GLADE_DIR and PIXMAP_DIR here.

* TODO: Updates.

19 years agoImplement this function
Søren Sandmann [Sat, 7 May 2005 17:57:59 +0000 (17:57 +0000)]
Implement this function

Sat May  7 13:57:17 2005  Søren Sandmann  <sandmann@redhat.com>

* sfile.c (sfile_output_free): Implement this function

* sfile.c (sfile_input_free): Implement this function

19 years agoAnother desparate hack to try and prevent the oops.
Søren Sandmann [Sat, 7 May 2005 14:59:45 +0000 (14:59 +0000)]
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.

19 years agoUse getpagesize()
Soeren Sandmann [Sat, 30 Apr 2005 20:59:01 +0000 (20:59 +0000)]
Use getpagesize()

Sat Apr 30 16:57:23 2005  Soeren Sandmann  <sandmann@redhat.com>

* process.c (PAGE_SIZE): Use getpagesize()

* TODO: More updates

19 years agoUpdates
Søren Sandmann [Sat, 30 Apr 2005 19:50:29 +0000 (19:50 +0000)]
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

19 years agoUpdates
Søren Sandmann [Sat, 23 Apr 2005 23:20:06 +0000 (23:20 +0000)]
Updates

Sat Apr 23 19:17:18 2005  Søren Sandmann  <sandmann@redhat.com>

* TODO: Updates

19 years agoStore a pointer to the root of the call tree
Søren Sandmann [Sat, 23 Apr 2005 23:18:42 +0000 (23:18 +0000)]
Store a pointer to the root of the call tree

Sat Apr 23 19:12:52 2005  Søren Sandmann  <sandmann@redhat.com>

* profile.c: Store a pointer to the root of the call tree

* profile.c (profile_load): Call sfile_input_free()

* sfile.c (sformat_free): Implement this function

19 years agoCheck pointer types
Søren Sandmann [Sat, 23 Apr 2005 22:47:35 +0000 (22:47 +0000)]
Check pointer types

Sat Apr 23 18:38:46 2005  Søren Sandmann  <sandmann@redhat.com>

* sfile.c (post_process_read_instructions): Check pointer types

* sfile.c (post_process_instructions_recurse): Delete this unused function

19 years agoNew function to check if the page is readable before reading. Noop on
Søren Sandmann [Sat, 23 Apr 2005 21:53:16 +0000 (21:53 +0000)]
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.

19 years agoOn >= 2.6.11 check that the pages are present and readable before reading
Soeren Sandmann [Fri, 22 Apr 2005 04:14:37 +0000 (04:14 +0000)]
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.

19 years agoAdd simple check target that runs a sanity check of the build environment.
Kristian Høgsberg [Tue, 19 Apr 2005 03:50:28 +0000 (03:50 +0000)]
Add simple check target that runs a sanity check of the build environment.

Tue Apr 19 23:26:45 2005  Kristian Høgsberg  <krh@bitplanet.net>

        * Makefile (check): Add simple check target that runs a sanity
        check of the build environment.

19 years agoFactor out some stuff in their own functions.
Soeren Sandmann [Sun, 17 Apr 2005 06:03:38 +0000 (06:03 +0000)]
Factor out some stuff in their own functions.

Sun Apr 17 00:20:41 2005  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (on_open_clicked): Factor out some stuff in their own
        functions.

        * sysprof.c (load_file): Idle handler to load files given on the
        command line.

        * sysprof.c (main): If a filename is passed on the command line,
        load it in an idle handler.

19 years agoRead a whole page at a time.
Soeren Sandmann [Sat, 16 Apr 2005 23:57:00 +0000 (23:57 +0000)]
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.

19 years ago+Sat Apr 16 14:15:55 2005 Soeren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Sat, 16 Apr 2005 21:08:44 +0000 (21:08 +0000)]
+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.
+

19 years agoAdd backtrace for kernel oops.
Søren Sandmann [Sat, 16 Apr 2005 05:58:40 +0000 (05:58 +0000)]
Add backtrace for kernel oops.

Sat Apr 16 01:54:18 2005  Søren Sandmann  <sandmann@redhat.com>

* TODO: Add backtrace for kernel oops.

19 years agoupdates
Soeren Sandmann [Fri, 15 Apr 2005 20:38:58 +0000 (20:38 +0000)]
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.

19 years agoAdd a copy of the GPL
Søren Sandmann [Sat, 9 Apr 2005 21:51:28 +0000 (21:51 +0000)]
Add a copy of the GPL

Sat Apr  9 17:49:13 2005  Søren Sandmann  <sandmann@redhat.com>

        * COPYING: Add a copy of the GPL

19 years agoRemove debug spew
Søren Sandmann [Sat, 9 Apr 2005 21:17:24 +0000 (21:17 +0000)]
Remove debug spew

Sat Apr  9 17:04:50 2005  Søren Sandmann  <sandmann@redhat.com>

* Makefile: Remove debug spew

* *: Add copyright notices

19 years agoMore updates
Søren Sandmann [Sat, 9 Apr 2005 01:32:17 +0000 (01:32 +0000)]
More updates

Fri Apr  8 21:30:02 2005  Søren Sandmann  <sandmann@redhat.com>

* TODO: More updates

19 years agoLoad the icon, hook up "about" activation.
Søren Sandmann [Sat, 9 Apr 2005 00:51:25 +0000 (00:51 +0000)]
Load the icon, hook up "about" activation.

Fri Apr  8 20:48:58 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c (build_gui): Load the icon, hook up "about"
activation.

* sysprof.c (on_about_activated): New function. Show an about
dialog.

* sysprof.c (struct Application): Add an icon field

* TODO: Updates

* sysprof-icon.png: Icon, drawn by Diana Fong

19 years agoPut back the weird loop, and stop pretending I understand this. This time
Søren Sandmann [Wed, 6 Apr 2005 03:04:34 +0000 (03:04 +0000)]
Put back the weird loop, and stop pretending I understand this. This time

Tue Apr  5 23:01:02 2005  Søren Sandmann  <sandmann@redhat.com>

* binfile.c (read_symbols): Put back the weird loop, and stop
pretending I understand this. This time use SEC_ALLOC instead of
SEC_LOAD.

19 years agoAdd commented out debug spew.
Søren Sandmann [Wed, 6 Apr 2005 00:16:12 +0000 (00:16 +0000)]
Add commented out debug spew.

Tue Apr  5 20:13:44 2005  Søren Sandmann  <sandmann@redhat.com>

* process.c (process_ensure_map): Add commented out debug spew.

* process.c (process_lookup_symbol): Remove all should_offset()
function and all references to it.

* binfile.c (bin_file_lookup_symbol): Document that address must
be in file coordinates.

* binfile.c (read_symbols): Remove misguided code that tried to
guess the load address of the file. Instead, do all computations
in "file coordinates". Also fix a memory leak. Add commented out
debug spew.

* binfile.c (separate_debug_file_exists): Fix signedness

19 years agoMake it compile with kernel 2.6.11
Søren Sandmann [Tue, 5 Apr 2005 18:37:13 +0000 (18:37 +0000)]
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

19 years agoBusy cursors in many more places.
Soeren Sandmann [Mon, 4 Apr 2005 06:19:16 +0000 (06:19 +0000)]
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

19 years agoRe-schedule the timeout here instead of in on_timer().
Soeren Sandmann [Mon, 4 Apr 2005 03:53:32 +0000 (03:53 +0000)]
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.

19 years agoPut current process to sleep.
Soeren Sandmann [Sun, 3 Apr 2005 22:06:00 +0000 (22:06 +0000)]
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

19 years agoRemove stray %
Soeren Sandmann [Sun, 3 Apr 2005 03:36:59 +0000 (03:36 +0000)]
Remove stray %

Thu Mar 31 23:09:09 2005  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (build_gui): Remove stray %

19 years agoRight justify numbers
Søren Sandmann [Fri, 1 Apr 2005 02:28:50 +0000 (02:28 +0000)]
Right justify numbers

Thu Mar 31 21:18:13 2005  Søren Sandmann  <sandmann@redhat.com>

        * treeviewutils.c (add_double_format_column): Right justify numbers

        * sysprof.c (build_gui): Add a space after the numbers

        * sysprof.c (on_callers_row_activated): Focus object view

        * sysprof.c (on_descendants_row_activated): Focus new descendants
        tree.

19 years agoWalk all threads, not just all processes.
Søren Sandmann [Fri, 1 Apr 2005 00:58:48 +0000 (00:58 +0000)]
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

19 years agoMake this function work
Soeren Sandmann [Thu, 31 Mar 2005 05:21:58 +0000 (05:21 +0000)]
Make this function work

Thu Mar 31 00:19:47 2005  Soeren Sandmann  <sandmann@redhat.com>

* sysprof.c (set_busy): Make this function work

* sysprof.c (on_profile_toggled): Use it here

* sysprof.c (on_object_selection_changed): And here

* profile.c (add_trace_to_tree): Use GPtrArrays instead of
GHashTable and GList.

19 years agoupdates
Soeren Sandmann [Mon, 28 Mar 2005 16:10:01 +0000 (16:10 +0000)]
updates

Mon Mar 28 11:09:02 2005  Soeren Sandmann  <sandmann@redhat.com>

* TODO: updates

19 years agoShow the right number of samples afte Open; remove shadows from menu bars
Søren Sandmann [Sun, 27 Mar 2005 00:31:01 +0000 (00:31 +0000)]
Show the right number of samples afte Open; remove shadows from menu bars

Sat Mar 26 19:26:52 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c: Show the right number of samples afte Open; remove
shadows from menu bars and toolbars; some other tweaks.

19 years agoUpdates
Soeren Sandmann [Sat, 26 Mar 2005 16:34:11 +0000 (16:34 +0000)]
Updates

Sat Mar 26 11:26:00 2005  Soeren Sandmann  <sandmann@redhat.com>

* TODO: Updates

* sfile.c (add_string): Use g_markup_escape_text() to escape the
string before adding it to the file.

* sysprof.c (empty_file_descriptor): New function to make sure
samples generated before profiling started are ignored.
(set_busy): New commented out function to set a busy cursor.

19 years agoComment out sensitivity of reset button.
Søren Sandmann [Sat, 26 Mar 2005 02:35:56 +0000 (02:35 +0000)]
Comment out sensitivity of reset button.

Fri Mar 25 21:31:08 2005  Søren Sandmann  <sandmann@redhat.com>

       * sysprof.c (update_sensitivity): Comment out sensitivity of reset button.

19 years agoReturn NULL if nothing is selected.
Søren Sandmann [Sat, 26 Mar 2005 02:28:32 +0000 (02:28 +0000)]
Return NULL if nothing is selected.

Fri Mar 25 21:25:31 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c (get_current_object): Return NULL if nothing is
selected.

19 years agoRemove hard-coded toolbar property
Søren Sandmann Pedersen [Sat, 26 Mar 2005 02:16:25 +0000 (02:16 +0000)]
Remove hard-coded toolbar property

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sat, 26 Mar 2005 02:12:01 +0000 (02:12 +0000)]
*** empty log message ***

19 years agoMore updates
Søren Sandmann [Sat, 26 Mar 2005 01:55:49 +0000 (01:55 +0000)]
More updates

Fri Mar 25 20:54:08 2005  Søren Sandmann  <sandmann@redhat.com>

* TODO: More updates

19 years agoRequire gtk+ 2.6
Søren Sandmann [Sat, 26 Mar 2005 01:27:35 +0000 (01:27 +0000)]
Require gtk+ 2.6

Fri Mar 25 20:25:44 2005  Søren Sandmann  <sandmann@redhat.com>

* README: Require gtk+ 2.6

* treeviewutils.c (add_plain_text_column): Ellipsisize text columns.

19 years agoRemove "loading and saving"
Søren Sandmann [Sat, 26 Mar 2005 01:19:07 +0000 (01:19 +0000)]
Remove "loading and saving"

Fri Mar 25 19:39:24 2005  Søren Sandmann  <sandmann@redhat.com>

* TODO: Remove "loading and saving"

* sysprof.glade: Add ellipsises to Open and Save menu items.

* sysprof.c (overwrite_file): Add this function, cutted-and-pasted
from evince.

* sysprof.c (on_save_as_clicked, on_open_clicked): Use
GtkFileChoosers to pick the names.

* sysprof.c: Various GUI updates.

19 years agoVarious GUI updates
Søren Sandmann [Fri, 25 Mar 2005 00:12:37 +0000 (00:12 +0000)]
Various GUI updates

Thu Mar 24 19:09:33 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c: Various GUI updates

* TODO: update

* sfile.[ch] (sformat_new_optional): Add some notes about an
"optional" construction.

19 years agoPrimitive loading and saving.
Soeren Sandmann [Wed, 23 Mar 2005 05:05:57 +0000 (05:05 +0000)]
Primitive loading and saving.

Wed Mar 23 00:04:07 2005  Soeren Sandmann  <sandmann@redhat.com>

Primitive loading and saving.

* sysprof.c (on_open_clicked): Hook up loading.

* sfile.c: Add a copy of g_file_replace() from glib CVS HEAD.

* sfile.c (add_string): Escape and quote the string

* sfile.c (sfile_load): Initialize current_instruction and
instructions_by_location

* sfile.c (post_process_instructions_recurse): Handle NULL
pointers properly.

* sfile.c (handle_begin_element, handle_end_element, handle_text):
Move error handling here from state_transition_begin/text/end.

* sfile.c (handle_text): Discard whitespace-only strings

* sfile.c (sfile_get_pointer, sfile_get_integer,
sfile_get_string): expect both begin, value, and end transitions.

* sfile.c (hook_up_pointers): Only treat instructions as pointer
values when they are. Handle NULL targets properly.

* sfile.c (get_number): Fix a few read-freed-data bugs

* profile.c (profile_load): Call sfile_end_get() for the profile;
build the nodes_by_objects hash table. Build the call tree.

* profile.c (create_format): Don't store next pointer, but do
store total, self and toplevel.

* profile.c (make_hash_table): New function to build
nodes_by_object hashtable from loaded data

19 years agoFix small bug in add_timeout() More descriptive tree labels update
Soeren Sandmann [Sat, 12 Mar 2005 16:05:58 +0000 (16:05 +0000)]
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

19 years agos/Cummulative/Cumulative/. Pointed out by Ian McIntosh.
Søren Sandmann [Thu, 10 Mar 2005 21:39:01 +0000 (21:39 +0000)]
s/Cummulative/Cumulative/. Pointed out by Ian McIntosh.

Thu Mar 10 16:37:52 2005  Søren Sandmann  <sandmann@redhat.com>

        * sysprof.c (build_gui): s/Cummulative/Cumulative/. Pointed out by
        Ian McIntosh.

19 years agoUpdate README and TODO, based on feedback from Ian McIntosh
Søren Sandmann Pedersen [Thu, 10 Mar 2005 21:36:42 +0000 (21:36 +0000)]
Update README and TODO, based on feedback from Ian McIntosh

19 years agoAdd note that you need to compile the module with the same compiler that
Søren Sandmann [Mon, 7 Mar 2005 19:52:47 +0000 (19:52 +0000)]
Add note that you need to compile the module with the same compiler that

Mon Mar  7 14:47:09 2005  Søren Sandmann  <sandmann@redhat.com>

* README: Add note that you need to compile the module with
the same compiler that compiled the kernel.

19 years agoCSun Mar 6 22:56:21 2005 Soeren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Mon, 7 Mar 2005 03:58:04 +0000 (03:58 +0000)]
CSun Mar  6 22:56:21 2005  Soeren Sandmann  <sandmann@redhat.com>

* sfile.c: Generate id's for objects and pointers.

19 years agoupdate TODO
Søren Sandmann Pedersen [Sat, 5 Mar 2005 18:15:55 +0000 (18:15 +0000)]
update TODO

19 years agoBug fixes. Add actual generation.
Soeren Sandmann [Sat, 5 Mar 2005 06:16:47 +0000 (06:16 +0000)]
Bug fixes. Add actual generation.

Sat Mar  5 01:09:33 2005  Soeren Sandmann  <sandmann@redhat.com>

* sfile.c: Bug fixes. Add actual generation.

19 years agoRemove include of non-existing tracing.h
Søren Sandmann [Fri, 4 Mar 2005 18:52:45 +0000 (18:52 +0000)]
Remove include of non-existing tracing.h

Fri Mar  4 13:47:13 2005  Søren Sandmann  <sandmann@redhat.com>

* sysprof.c: Remove include of non-existing tracing.h

19 years agoWrite this function.
Soeren Sandmann [Fri, 4 Mar 2005 04:48:40 +0000 (04:48 +0000)]
Write this function.

Thu Mar  3 23:48:13 2005  Soeren Sandmann  <sandmann@redhat.com>

* profile.c (profile_load): Write this function.

* sfile.c: Add support for user defined record and list types.
Simplify logic a lot.

19 years agoExperiment with a file-format-description format.
Soeren Sandmann [Thu, 3 Mar 2005 04:44:28 +0000 (04:44 +0000)]
Experiment with a file-format-description format.

Wed Mar  2 23:39:50 2005  Soeren Sandmann  <sandmann@redhat.com>

* profile.[ch], sfile.[ch]: Experiment with a
file-format-description format.

* sysprof.c: Add commented out code using /proc/ based
timeout.

19 years agoSome updates - add note about SMP kernels.
Søren Sandmann [Fri, 21 Jan 2005 16:27:41 +0000 (16:27 +0000)]
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.

19 years agoRevert to something less broken
Søren Sandmann Pedersen [Thu, 23 Dec 2004 19:20:31 +0000 (19:20 +0000)]
Revert to something less broken

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Wed, 24 Nov 2004 23:11:28 +0000 (23:11 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Wed, 24 Nov 2004 18:39:35 +0000 (18:39 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Tue, 23 Nov 2004 00:10:55 +0000 (00:10 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Tue, 23 Nov 2004 00:01:11 +0000 (00:01 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Mon, 22 Nov 2004 21:19:56 +0000 (21:19 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sun, 21 Nov 2004 23:33:56 +0000 (23:33 +0000)]
*** empty log message ***

19 years agodoh
Søren Sandmann Pedersen [Sun, 21 Nov 2004 23:32:40 +0000 (23:32 +0000)]
doh

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sun, 21 Nov 2004 23:22:42 +0000 (23:22 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sun, 21 Nov 2004 23:13:16 +0000 (23:13 +0000)]
*** empty log message ***

19 years agoSample all running tasks, not just current
Søren Sandmann Pedersen [Sun, 21 Nov 2004 22:46:00 +0000 (22:46 +0000)]
Sample all running tasks, not just current

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sun, 21 Nov 2004 01:54:22 +0000 (01:54 +0000)]
*** empty log message ***

19 years agomore sfile work
Søren Sandmann Pedersen [Sun, 21 Nov 2004 00:08:14 +0000 (00:08 +0000)]
more sfile work

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Sat, 20 Nov 2004 23:05:12 +0000 (23:05 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Wed, 17 Nov 2004 23:37:44 +0000 (23:37 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Søren Sandmann Pedersen [Wed, 17 Nov 2004 23:08:47 +0000 (23:08 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Tue, 16 Nov 2004 02:54:05 +0000 (02:54 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Mon, 15 Nov 2004 23:15:59 +0000 (23:15 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Fri, 12 Nov 2004 23:27:52 +0000 (23:27 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Fri, 12 Nov 2004 18:30:01 +0000 (18:30 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Fri, 12 Nov 2004 17:54:15 +0000 (17:54 +0000)]
*** empty log message ***

20 years agoget rid of object table
Søren Sandmann Pedersen [Fri, 12 Nov 2004 16:51:34 +0000 (16:51 +0000)]
get rid of object table

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Fri, 12 Nov 2004 16:14:05 +0000 (16:14 +0000)]
*** empty log message ***

20 years agovarious small fixes
Søren Sandmann Pedersen [Fri, 12 Nov 2004 15:21:07 +0000 (15:21 +0000)]
various small fixes

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Sat, 6 Nov 2004 00:59:25 +0000 (00:59 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Fri, 5 Nov 2004 16:57:40 +0000 (16:57 +0000)]
*** empty log message ***

20 years agoNew GUI
Søren Sandmann Pedersen [Fri, 5 Nov 2004 15:25:59 +0000 (15:25 +0000)]
New GUI

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Thu, 4 Nov 2004 22:10:01 +0000 (22:10 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Thu, 4 Nov 2004 15:25:39 +0000 (15:25 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Søren Sandmann Pedersen [Thu, 4 Nov 2004 15:23:41 +0000 (15:23 +0000)]
*** empty log message ***