perf sdt x86: Add renaming logic for rNN and other registers
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Thu, 2 Feb 2017 11:11:40 +0000 (16:41 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Mar 2017 14:07:17 +0000 (11:07 -0300)
commit8544d24c3204f94c0ba9788d3113b7a83d5edc0d
treecde661126e64de9c5808d778e3498c342f7b44f1
parent3b1f8311f6963cd11a7d1efbcd2fd900d472ba5c
perf sdt x86: Add renaming logic for rNN and other registers

'perf probe' is failing for sdt markers whose arguments has rNN (with
postfix b/w/d), %rsp, %esp, %sil etc. registers. Add renaming logic for
these registers.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexis Berlemont <alexis.berlemont@gmail.com>
Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170202111143.14319-3-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/util/perf_regs.c