From ded375462bfc85d0a1319a2dadeb9723b7ee2896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Fri, 23 Apr 2010 11:22:06 -0400 Subject: [PATCH] sysprof-cli: Print out number of samples when saving --- sysprof-cli.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysprof-cli.c b/sysprof-cli.c index 2500ddaf..90f5b13e 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);