perf report: Print out the total number of events
Commit-ID: 05ca061eb9704ad9b0739f88046276792b75f2c1 Gitweb: http://git.kernel.org/tip/05ca061eb9704ad9b0739f88046276792b75f2c1 Author: Ingo Molnar <[email protected]> AuthorDate: Thu, 4 Jun 2009 14:21:16 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 4 Jun 2009 14:21:16 +0200
perf report: Print out the total number of events
So that the statistical quality of the profile can be estimated at a glance.
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- Documentation/perf_counter/builtin-report.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Documentation/perf_counter/builtin-report.c +2 -0
@@ -722,6 +722,8 @@ static size_t output__fprintf(FILE *fp, uint64_t total_samples)size_t ret =0 ;fprintf (fp,"#\n" ); +fprintf (fp,"# (%Ld profiler events)\n" , (__u64 )total_samples); +fprintf (fp,"#\n" );fprintf (fp,"# Overhead" );list_for_each_entry (se, &hist_entry__sort_list, list)