From ded375462bfc85d0a1319a2dadeb9723b7ee2896 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Fri, 23 Apr 2010 11:22:06 -0400 Subject: 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 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); -- cgit v1.2.3