summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-help.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-09-05 21:40:57 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-09-13 15:49:14 +0300
commitb1491ace8eb2e92677cd9ee966763f8f53d29d16 (patch)
tree26f3d79d66e169d76c9edd1cc56df89cef58c903 /tools/perf/builtin-help.c
parent84c417422798c897f637b0249f64a52807b4a61b (diff)
downloadlinux-b1491ace8eb2e92677cd9ee966763f8f53d29d16.tar.xz
perf script: Support user regs
Teach perf script to print user regs. % perf record --user-regs=ip,sp ... % perf script -F ip,sym,uregs ... ffffffff9e060c24 native_write_msr ABI:2 SP:0x7ffd0ea06c38 IP:0x7fe77f55b637 ffffffff9e060c24 native_write_msr ABI:2 SP:0x7ffd0ea06c38 IP:0x7fe77f55b637 ffffffff9e060c24 native_write_msr ABI:2 SP:0x7ffd0ea06c38 IP:0x7fe77f55b637 ffffffff9e060c24 native_write_msr ABI:2 SP:0x7ffd0ea06c38 IP:0x7fe77f55b637 ffffffff9e00cc12 intel_pmu_handle_irq ABI:2 SP:0x7ffd0ea06c38 IP:0x7fe77f55b637 v2: Rebased on top of phys-addr patches Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/20170905184057.26135-1-andi@firstfloor.org [ Use PRIu64 for regs->abi in print_sample_uregs() ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-help.c')
0 files changed, 0 insertions, 0 deletions