diff options
author | Andi Kleen <ak@linux.intel.com> | 2018-09-24 10:07:32 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-10-24 15:29:56 -0300 |
commit | fe57120e18a1f9124ca758c89cc54f91333d1847 (patch) | |
tree | 20ebe6d2578d8b5ccd518dddaa750e8a76ee0d0d /tools/perf/ui | |
parent | 99f753f048b3f02f31a56951781672021af6cd0d (diff) | |
download | blackbird-op-linux-fe57120e18a1f9124ca758c89cc54f91333d1847.tar.gz blackbird-op-linux-fe57120e18a1f9124ca758c89cc54f91333d1847.zip |
perf script: Support total cycles count
For 'perf script' brstackinsn also print a running cycles count. This
makes it easier to calculate cycle deltas for code sections measured
with LBRs.
% perf record -b -a sleep 1
% perf script -F +brstackinsn
...
00007f73ecc41083 insn: 74 06 # PRED 9 cycles [17] 1.11 IPC
00007f73ecc4108b insn: a8 10
00007f73ecc4108d insn: 74 71 # PRED 1 cycles [18] 1.00 IPC
00007f73ecc41100 insn: 48 8b 46 10
00007f73ecc41104 insn: 4c 8b 38
00007f73ecc41107 insn: 4d 85 ff
00007f73ecc4110a insn: 0f 84 b0 00 00 00
00007f73ecc41110 insn: 83 43 58 01
00007f73ecc41114 insn: 48 89 df
00007f73ecc41117 insn: e8 94 73 04 00 # PRED 6 cycles [24] 1.00 IPC
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Link: http://lkml.kernel.org/r/20180924170732.GA28040@tassilo.jf.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui')
0 files changed, 0 insertions, 0 deletions