mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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
90 lines
2.7 KiB
Plaintext
90 lines
2.7 KiB
Plaintext
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
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
Sun Mar 6 22:56:21 2005 Soeren Sandmann <sandmann@redhat.com>
|
|
|
|
* sfile.c: Generate id's for objects and pointers.
|
|
|
|
Sat Mar 5 01:09:33 2005 Soeren Sandmann <sandmann@redhat.com>
|
|
|
|
* sfile.c: Bug fixes. Add actual generation.
|
|
|
|
Fri Mar 4 13:47:13 2005 Søren Sandmann <sandmann@redhat.com>
|
|
|
|
* sysprof.c: Remove include of non-existing tracing.h
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|