]> git.baikalelectronics.ru Git - kernel.git/commit
perf report: Correct display of samples and events in header
authorAshay Rane <ashay.rane@tacc.utexas.edu>
Fri, 6 Apr 2012 02:01:01 +0000 (21:01 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 7 Apr 2012 20:29:41 +0000 (17:29 -0300)
commit691def493f9fbace4bc5f68e95e2b3ed39189fd9
treeb21bcd709fdf69d127cb34005d6ec20b2df9fb62
parent9f1fbf30b5f5677aa0d0874e051f198d60ca9a60
perf report: Correct display of samples and events in header

This patch prints the number of samples and the count of performance
events separately.

This allows comparing performance of different applications with each
other.

Previously, the sample count was displayed against an 'Events:' heading.
With this patch, the header now reads (for example):

Samples: 5K of event 'instructions'
Event count (approx.): 2993026545

The patch covers both the stdio and the browser interface.

Signed-off-by: Ashay Rane <ashay.rane@tacc.utexas.edu>
[ committer note: Fixed wrt 661b00f ]
Link: http://lkml.kernel.org/n/tip-h4nfjm8msedlk8gxkzivfh5y@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/ui/browsers/hists.c