perf report: Introduce -n/--show-nr-samples
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 11 Jul 2009 15:18:37 +0000 (12:18 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 11 Jul 2009 17:20:27 +0000 (19:20 +0200)
commite3d7e183dc276df2fcaf02af173a49ad119ba9f9
tree02bf81e7e1f1d4b4d585544431c8d6d5cd74f7e7
parenta25e46c46311316cd1b3f27f8bb036df1693c032
perf report: Introduce -n/--show-nr-samples

[acme@doppio pahole]$ perf report -ns comm,dso,symbol -d /lib64/libc-2.10.1.so -C pahole | head -17
    21.94%      32101  [.] _int_malloc
    20.10%      29402  [.] __GI_strcmp
    16.77%      24533  [.] __tsearch
    12.61%      18450  [.] malloc_consolidate
     6.42%       9394  [.] _int_free
     6.28%       9191  [.] __tfind
     4.56%       6678  [.] __GI___libc_free
     4.46%       6520  [.] _IO_vfprintf_internal
     2.59%       3786  [.] __malloc
     1.17%       1716  [.] __GI_memcpy
[acme@doppio pahole]$

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1247325517-12272-5-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Documentation/perf-report.txt
tools/perf/builtin-report.c