summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2018-10-16 20:55:55 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-10-18 11:16:38 -0300
commit0ab41886648bb75b951bd41d8b5cecaca8e0ad66 (patch)
tree6ad1b702a5e34205359200ae8de82bb93e6306e9 /tools/perf/scripts/python/call-graph-from-sql.py
parentcf7905165fee15fe26ac4a91ee0a35b966249430 (diff)
downloadlinux-stable-0ab41886648bb75b951bd41d8b5cecaca8e0ad66.tar.gz
linux-stable-0ab41886648bb75b951bd41d8b5cecaca8e0ad66.tar.bz2
linux-stable-0ab41886648bb75b951bd41d8b5cecaca8e0ad66.zip
perf annotate: Add Sparc support
E.g.: $ perf annotate --stdio2 Samples: 7K of event 'cycles:ppp', 4000 Hz, Event count (approx.): 3086733887 __gettimeofday /lib32/libc-2.27.so [Percent: local period] Percent│ │ │ │ Disassembly of section .text: │ │ 000a6fa0 <__gettimeofday@@GLIBC_2.0>: 0.47 │ save %sp, -96, %sp 0.73 │ sethi %hi(0xe9000), %l7 │ → call __frame_state_for@@GLIBC_2.0+0x480 0.30 │ add %l7, 0x58, %l7 ! e9058 <nftw64@@GLIBC_2.3.3+0x818> 1.33 │ mov %i0, %o0 │ mov %i1, %o1 0.43 │ mov 0x74, %g1 │ ta 0x10 88.92 │ ↓ bcc 30 2.95 │ clr %g1 │ neg %o0 │ mov 1, %g1 0.31 │30: cmp %g1, 0 │ bne,pn %icc, a6fe4 <__gettimeofday@@GLIBC_2.0+0x44> │ mov %o0, %i0 1.96 │ ← return %i7 + 8 2.62 │ nop │ sethi %hi(0), %g1 │ neg %o0, %g2 │ add %g1, 0x160, %g1 │ ld [ %l7 + %g1 ], %g1 │ st %g2, [ %g7 + %g1 ] │ ← return %i7 + 8 │ mov -1, %o0 Signed-off-by: David S. Miller <davem@davemloft.net> Link: http://lkml.kernel.org/r/20181016.205555.1070918198627611771.davem@davemloft.net Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions