Re: [PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

2017-02-03 Thread Hekuang
hi, 在 2017/1/27 3:31, Arnaldo Carvalho de Melo 写道: Em Thu, Jan 26, 2017 at 04:52:12PM +, Will Deacon escreveu: On Thu, Jan 26, 2017 at 10:49:16AM +0900, Masami Hiramatsu wrote: On Wed, 25 Jan 2017 13:32:01 + Will Deacon wrote: On Wed, Jan 25, 2017 at 07:23:11AM +, He Kuang wrote

Re: [PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

2017-01-26 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 26, 2017 at 04:52:12PM +, Will Deacon escreveu: > On Thu, Jan 26, 2017 at 10:49:16AM +0900, Masami Hiramatsu wrote: > > On Wed, 25 Jan 2017 13:32:01 + > > Will Deacon wrote: > > > > > On Wed, Jan 25, 2017 at 07:23:11AM +, He Kuang wrote: > > > > Since HAVE_KPROBES can be e

Re: [PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

2017-01-26 Thread Will Deacon
On Thu, Jan 26, 2017 at 10:49:16AM +0900, Masami Hiramatsu wrote: > On Wed, 25 Jan 2017 13:32:01 + > Will Deacon wrote: > > > On Wed, Jan 25, 2017 at 07:23:11AM +, He Kuang wrote: > > > Since HAVE_KPROBES can be enabled in arm64, this patch introduces > > > regs_query_register_offset() to

Re: [PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

2017-01-25 Thread Masami Hiramatsu
On Wed, 25 Jan 2017 07:23:11 + He Kuang wrote: > Since HAVE_KPROBES can be enabled in arm64, this patch introduces > regs_query_register_offset() to convert register name to offset for > arm64, so the BPF prologue feature is ready to use. > > This patch also changes the 'dwarfnum' to 'offset

Re: [PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

2017-01-25 Thread Masami Hiramatsu
On Wed, 25 Jan 2017 13:32:01 + Will Deacon wrote: > On Wed, Jan 25, 2017 at 07:23:11AM +, He Kuang wrote: > > Since HAVE_KPROBES can be enabled in arm64, this patch introduces > > regs_query_register_offset() to convert register name to offset for > > arm64, so the BPF prologue feature is

Re: [PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

2017-01-25 Thread Will Deacon
On Wed, Jan 25, 2017 at 07:23:11AM +, He Kuang wrote: > Since HAVE_KPROBES can be enabled in arm64, this patch introduces > regs_query_register_offset() to convert register name to offset for > arm64, so the BPF prologue feature is ready to use. > > This patch also changes the 'dwarfnum' to 'o