|
@@ -1591,7 +1591,7 @@ static void perf_session__warn_about_errors(const struct perf_session *session)
|
|
drop_rate = (double)stats->total_lost_samples /
|
|
drop_rate = (double)stats->total_lost_samples /
|
|
(double) (stats->nr_events[PERF_RECORD_SAMPLE] + stats->total_lost_samples);
|
|
(double) (stats->nr_events[PERF_RECORD_SAMPLE] + stats->total_lost_samples);
|
|
if (drop_rate > 0.05) {
|
|
if (drop_rate > 0.05) {
|
|
- ui__warning("Processed %" PRIu64 " samples and lost %3.2f%% samples!\n\n",
|
|
|
|
|
|
+ ui__warning("Processed %" PRIu64 " samples and lost %3.2f%%!\n\n",
|
|
stats->nr_events[PERF_RECORD_SAMPLE] + stats->total_lost_samples,
|
|
stats->nr_events[PERF_RECORD_SAMPLE] + stats->total_lost_samples,
|
|
drop_rate * 100.0);
|
|
drop_rate * 100.0);
|
|
}
|
|
}
|