diff options
author | Søren Sandmann <sandmann@redhat.com> | 2005-05-07 17:57:59 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-05-07 17:57:59 +0000 |
commit | c427b8835223914bf12b0f2de09639b9321f5d74 (patch) | |
tree | 295d02bc0c227dd0ba32413c66129705d53efe6e /profile.c | |
parent | 582efc99b2b8081fee3aa4cdbc42b1f67c92b279 (diff) |
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
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -212,7 +212,7 @@ profile_load (const char *filename, GError **err) sfile_begin_get_record (input, "profile"); sfile_get_integer (input, "size", &profile->size); - sfile_get_pointer (input, "call_tree", &profile->call_tree); + sfile_get_pointer (input, "call_tree", (void **)&profile->call_tree); n = sfile_begin_get_list (input, "objects"); for (i = 0; i < n; ++i) @@ -295,7 +295,7 @@ generate_key (Process *process, gulong address) static char * generate_presentation_name (Process *process, gulong address) { - /* FIXME using 0 to indicate "process" is broken */ + /* FIXME - not10 - using 0 to indicate "process" is broken */ if (address) { const Symbol *symbol = process_lookup_symbol (process, address); @@ -306,10 +306,6 @@ generate_presentation_name (Process *process, gulong address) { return g_strdup_printf ("%s", process_get_cmdline (process)); } -#if 0 - /* FIXME - don't return addresses and stuff */ - return generate_key (profile, process, address); -#endif } static void |