kernel-ark/tools/perf
Jaswinder Singh Rajput 6e750a8fc0 perf stat: Improve output
Increase size for event name to handle bigger names like
'L1-d$-prefetch-misses'

Changed scaled counters from percentage to a multiplicative
factor because the latter is more expressive.

Also aligned the scaling factor, otherwise sometimes it looks
like:

            384  iTLB-load-misses           (4.74x scaled)
         452029  branch-loads               (8.00x scaled)
           5892  branch-load-misses         (20.39x scaled)
         972315  iTLB-loads                 (3.24x scaled)

Before:
         150708  L1-d$-stores          (scaled from 23.57%)
         428804  L1-d$-prefetches      (scaled from 23.47%)
         314446  L1-d$-prefetch-misses  (scaled from 23.42%)
      252626137  L1-i$-loads           (scaled from 23.24%)
        5297550  dTLB-load-misses      (scaled from 23.96%)
      106992392  branch-loads          (scaled from 23.67%)
        5239561  branch-load-misses    (scaled from 23.43%)

After:
        1731713  L1-d$-loads               (  14.25x scaled)
          44241  L1-d$-prefetches          (   3.88x scaled)
          21076  L1-d$-prefetch-misses     (   3.40x scaled)
        5789421  L1-i$-loads               (   3.78x scaled)
          29645  dTLB-load-misses          (   2.95x scaled)
         461474  branch-loads              (   6.52x scaled)
           7493  branch-load-misses        (  26.57x scaled)

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1246051927.2988.10.camel@hpdv5.satnam>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-27 18:39:41 +02:00
..
Documentation perf report: Fix help text typo 2009-06-23 16:39:53 +02:00
util perf_counter tools: Remove dead code 2009-06-27 06:06:39 +02:00
.gitignore
builtin-annotate.c perf_counter: Rework the sample ABI 2009-06-25 21:39:08 +02:00
builtin-help.c
builtin-list.c
builtin-record.c perf record: Fix unhandled io return value 2009-06-25 22:25:55 +02:00
builtin-report.c perf report: Print sorted callchains per histogram entries 2009-06-26 16:47:01 +02:00
builtin-stat.c perf stat: Improve output 2009-06-27 18:39:41 +02:00
builtin-top.c perf_counter: Rework the sample ABI 2009-06-25 21:39:08 +02:00
builtin.h
command-list.txt
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
design.txt perf_counter: Start documenting HAVE_PERF_COUNTERS requirements 2009-06-12 19:37:30 +02:00
Makefile perf_counter tools: Prepare a small callchain framework 2009-06-26 16:47:00 +02:00
perf.c
perf.h perf_counter tools: Prepare a small callchain framework 2009-06-26 16:47:00 +02:00