diff --git a/ChangeLog b/ChangeLog index 23c2b148..bca80311 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-17 Soren Sandmann + + * collector.c (collector_create_profile): Don't collect traces here. + 2007-11-16 Soren Sandmann * module/sysprof-module.c (n_traces_available): Formatting diff --git a/collector.c b/collector.c index 1c1b131a..0be192d9 100644 --- a/collector.c +++ b/collector.c @@ -488,8 +488,6 @@ collector_create_profile (Collector *collector) ResolveInfo info; Profile *profile; - collect_traces (collector); - info.resolved_stash = stack_stash_new ((GDestroyNotify)g_free); info.unique_symbols = g_hash_table_new (g_direct_hash, g_direct_equal); info.unique_cmdlines = g_hash_table_new (g_str_hash, g_str_equal); diff --git a/process.c b/process.c index e04a3648..59c19291 100644 --- a/process.c +++ b/process.c @@ -75,7 +75,7 @@ read_maps (int pid, int *n_maps) char buffer[1024]; FILE *in; GArray *result; - + in = fopen (name, "r"); if (!in) {