mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sysprof-cli: Print out number of samples when saving
This commit is contained in:
@ -47,7 +47,9 @@ dump_data (Application *app)
|
|||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
Profile *profile;
|
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);
|
fflush (stdout);
|
||||||
|
|
||||||
collector_stop (app->collector);
|
collector_stop (app->collector);
|
||||||
|
|||||||
Reference in New Issue
Block a user