]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Add number of samples to the header
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Thu, 30 Jun 2016 08:29:55 +0000 (10:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Jun 2016 21:27:42 +0000 (18:27 -0300)
commitc907a34271c24dc1af20bed6e3be15e916e9ff9a
treedc0c7283290c1a53214c3f66858c00dcbdb7949a
parentab147a1fc4497d64ec717e3b08ffafa96a764e32
perf annotate: Add number of samples to the header

Staring at annotations of large functions is useless if there's only a
few samples in them. Report the number of samples in the header to make
this easier to determine.

Committer note:

The change amounts to:

  - Percent | Source code & Disassembly of perf-vdso.so for cycles:u
  ------------------------------------------------------------------
  + Percent | Source code & Disassembly of perf-vdso.so for cycles:u (3278 samples)
  +--------------------------------------------------------------------------------

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20160630082955.GA30921@twins.programming.kicks-ass.net
[ split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c