[sysprof] In sysprof-cli.c, stop the collector before trying to create a profile
- From: Søren Sandmann Pedersen <ssp src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sysprof] In sysprof-cli.c, stop the collector before trying to create a profile
- Date: Wed, 16 Sep 2009 12:23:54 +0000 (UTC)
commit 87719722128247c8ef190901697a27a8229b615f
Author: M Joonas Pihlaja <jpihlaja cc helsinki fi>
Date: Wed Sep 16 08:21:49 2009 -0400
In sysprof-cli.c, stop the collector before trying to create a profile
sysprof-cli.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/sysprof-cli.c b/sysprof-cli.c
index 8dbe334..ee03a8c 100644
--- a/sysprof-cli.c
+++ b/sysprof-cli.c
@@ -50,6 +50,8 @@ dump_data (Application *app)
printf ("Saving profile in %s ... ", app->outfile);
fflush (stdout);
+
+ collector_stop (app->collector);
profile = collector_create_profile (app->collector);
profile_save (profile, app->outfile, &err);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]