perf sdt powerpc: Add argument support
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Tue, 28 Mar 2017 09:47:54 +0000 (15:17 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Apr 2017 13:36:59 +0000 (10:36 -0300)
commitf5a70801b7832bfcb865e95c39bdef8eac21226f
treeb527cab96cef754e7c087903c6b0e5e96ac70fa4
parentfcc309e618c9e9ac4ede010d87522b0689549658
perf sdt powerpc: Add argument support

SDT marker argument is in N@OP format. Here OP is arch dependent
component. Add powerpc logic to parse OP and convert it to uprobe
compatible format.

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: Hemant Kumar <hemant@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/20170328094754.3156-4-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/powerpc/util/perf_regs.c