summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2010-04-23 11:22:06 -0400
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2010-04-23 11:56:14 -0400
commitded375462bfc85d0a1319a2dadeb9723b7ee2896 (patch)
tree7d68356f1f5f93ac35072776bad0007459aab12b
parentaab051f9442c7256790a58f57f0f23ec1b982390 (diff)
sysprof-cli: Print out number of samples when saving
-rw-r--r--sysprof-cli.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysprof-cli.c b/sysprof-cli.c
index 2500dda..90f5b13 100644
--- a/sysprof-cli.c
+++ b/sysprof-cli.c
@@ -47,7 +47,9 @@ dump_data (Application *app)
GError *err = NULL;
Profile *profile;
- printf ("Saving profile in %s ... ", app->outfile);
+ printf ("Saving profile (%d samples) in %s ... ",
+ collector_get_n_samples (app->collector),
+ app->outfile);
fflush (stdout);
collector_stop (app->collector);