mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
boot-analysis: Flush out debug data after printing it.
Just makes it easier to see bugs causing the analysis stage to hang / infinite loop.
This commit is contained in:
@@ -841,6 +841,8 @@ dump_pass_data (void)
|
||||
printf ("\"\n");
|
||||
}
|
||||
}
|
||||
|
||||
fflush (stdout);
|
||||
}
|
||||
|
||||
/* Convert source to a printable string. The caller must free the
|
||||
@@ -1018,6 +1020,8 @@ dump_timeline (void)
|
||||
printf (" s.d = %.1f\n", activities[i].sd);
|
||||
printf (" percent = %.1f\n", activities[i].percent);
|
||||
}
|
||||
|
||||
fflush (stdout);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user