Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-07 Thread Masami Hiramatsu
On Tue, 7 Feb 2017 09:20:03 + Will Deacon wrote: > On Tue, Feb 07, 2017 at 09:54:51AM +0900, Masami Hiramatsu wrote: > > On Mon, 6 Feb 2017 13:02:29 + > > Will Deacon wrote: > > > > > On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > >

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-07 Thread Masami Hiramatsu
On Tue, 7 Feb 2017 09:20:03 + Will Deacon wrote: > On Tue, Feb 07, 2017 at 09:54:51AM +0900, Masami Hiramatsu wrote: > > On Mon, 6 Feb 2017 13:02:29 + > > Will Deacon wrote: > > > > > On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > > > > hi > > > > > > > > 在 2017/2/3 21:00,

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-07 Thread Will Deacon
On Tue, Feb 07, 2017 at 09:54:51AM +0900, Masami Hiramatsu wrote: > On Mon, 6 Feb 2017 13:02:29 + > Will Deacon wrote: > > > On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > > > hi > > > > > > 在 2017/2/3 21:00, Will Deacon 写道: > > > >On Fri, Feb 03, 2017 at

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-07 Thread Will Deacon
On Tue, Feb 07, 2017 at 09:54:51AM +0900, Masami Hiramatsu wrote: > On Mon, 6 Feb 2017 13:02:29 + > Will Deacon wrote: > > > On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > > > hi > > > > > > 在 2017/2/3 21:00, Will Deacon 写道: > > > >On Fri, Feb 03, 2017 at 11:06:05AM +, He

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-06 Thread Masami Hiramatsu
On Mon, 6 Feb 2017 13:02:29 + Will Deacon wrote: > On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > > hi > > > > 在 2017/2/3 21:00, Will Deacon 写道: > > >On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: > > >>This patch changes the 'dwarfnum' to

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-06 Thread Masami Hiramatsu
On Mon, 6 Feb 2017 13:02:29 + Will Deacon wrote: > On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > > hi > > > > 在 2017/2/3 21:00, Will Deacon 写道: > > >On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: > > >>This patch changes the 'dwarfnum' to 'offset' in register table,

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-06 Thread Will Deacon
On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > hi > > 在 2017/2/3 21:00, Will Deacon 写道: > >On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: > >>This patch changes the 'dwarfnum' to 'offset' in register table, so > >>the index of array becomes the dwarfnum (the index of each

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-06 Thread Will Deacon
On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote: > hi > > 在 2017/2/3 21:00, Will Deacon 写道: > >On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: > >>This patch changes the 'dwarfnum' to 'offset' in register table, so > >>the index of array becomes the dwarfnum (the index of each

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-04 Thread Hekuang
hi 在 2017/2/3 21:00, Will Deacon 写道: On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: This patch changes the 'dwarfnum' to 'offset' in register table, so the index of array becomes the dwarfnum (the index of each register defined by DWARF) and the "offset" member means the byte-offset

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-04 Thread Hekuang
hi 在 2017/2/3 21:00, Will Deacon 写道: On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: This patch changes the 'dwarfnum' to 'offset' in register table, so the index of array becomes the dwarfnum (the index of each register defined by DWARF) and the "offset" member means the byte-offset

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-03 Thread Will Deacon
On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: > This patch changes the 'dwarfnum' to 'offset' in register table, so > the index of array becomes the dwarfnum (the index of each register > defined by DWARF) and the "offset" member means the byte-offset of the > register in

Re: [PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-03 Thread Will Deacon
On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote: > This patch changes the 'dwarfnum' to 'offset' in register table, so > the index of array becomes the dwarfnum (the index of each register > defined by DWARF) and the "offset" member means the byte-offset of the > register in

[PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-03 Thread He Kuang
This patch changes the 'dwarfnum' to 'offset' in register table, so the index of array becomes the dwarfnum (the index of each register defined by DWARF) and the "offset" member means the byte-offset of the register in (user_)pt_regs. This change makes the code consistent with x86. Acked-by:

[PATCH v2 1/3] perf tools: Use offset instead of dwarfnum in register table.

2017-02-03 Thread He Kuang
This patch changes the 'dwarfnum' to 'offset' in register table, so the index of array becomes the dwarfnum (the index of each register defined by DWARF) and the "offset" member means the byte-offset of the register in (user_)pt_regs. This change makes the code consistent with x86. Acked-by: