perf/sdt/x86: Move OP parser to tools/perf/arch/x86/
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Tue, 28 Mar 2017 09:47:53 +0000 (15:17 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Mar 2017 15:25:30 +0000 (12:25 -0300)
commitd451a205da29c5485ca634367154e83997571aa0
tree93c2a2519650d6d98b30b196f4fbb839c2add505
parent2d01ecc580405169ecd6e3880617bc61cf482fdd
perf/sdt/x86: Move OP parser to tools/perf/arch/x86/

SDT marker argument is in N@OP format. N is the size of argument and OP
is the actual assembly operand. OP is arch dependent component and hence
it's parsing logic also should be placed under tools/perf/arch/.

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-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
tools/perf/util/perf_regs.c
tools/perf/util/perf_regs.h
tools/perf/util/probe-file.c