diff options
author | Andi Kleen <ak@linux.intel.com> | 2017-09-05 20:40:57 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-09-13 14:49:14 +0200 |
commit | b1491ace8eb2e92677cd9ee966763f8f53d29d16 (patch) | |
tree | 26f3d79d66e169d76c9edd1cc56df89cef58c903 /tools/perf/Makefile.perf | |
parent | perf record: Support direct --user-regs arguments (diff) | |
download | linux-b1491ace8eb2e92677cd9ee966763f8f53d29d16.tar.xz linux-b1491ace8eb2e92677cd9ee966763f8f53d29d16.zip |
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/Makefile.perf')
0 files changed, 0 insertions, 0 deletions