Re: [RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-25 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 10:03:08 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 24, 2016 at 02:58:41PM +0900, Masami Hiramatsu escreveu: > > Support probing on offline cross-architecture binary by > > adding getting the target machine arch from ELF and > > choose correct

Re: [RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-25 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 10:03:08 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 24, 2016 at 02:58:41PM +0900, Masami Hiramatsu escreveu: > > Support probing on offline cross-architecture binary by > > adding getting the target machine arch from ELF and > > choose correct register string for the

Re: [RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 24, 2016 at 02:58:41PM +0900, Masami Hiramatsu escreveu: > Support probing on offline cross-architecture binary by > adding getting the target machine arch from ELF and > choose correct register string for the machine. > > Here is an example: > - > $ mkdir tracing No need for

Re: [RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 24, 2016 at 02:58:41PM +0900, Masami Hiramatsu escreveu: > Support probing on offline cross-architecture binary by > adding getting the target machine arch from ELF and > choose correct register string for the machine. > > Here is an example: > - > $ mkdir tracing No need for

[RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-23 Thread Masami Hiramatsu
Support probing on offline cross-architecture binary by adding getting the target machine arch from ELF and choose correct register string for the machine. Here is an example: - $ mkdir tracing $ sudo perf probe --outdir=./tracing --vmlinux=./vmlinux-arm \ do_sys_open '$vars'

[RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-23 Thread Masami Hiramatsu
Support probing on offline cross-architecture binary by adding getting the target machine arch from ELF and choose correct register string for the machine. Here is an example: - $ mkdir tracing $ sudo perf probe --outdir=./tracing --vmlinux=./vmlinux-arm \ do_sys_open '$vars'