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:
Richard W.M. Jones
2016-05-10 12:17:28 +01:00
parent e4edede364
commit 754b8f5ef3

View File

@@ -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