[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-05-06 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo

[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-05-06 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet jean.pi...@linaro.org Cc: Corey Ashford

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-12 Thread Will Deacon
On Tue, Mar 11, 2014 at 06:25:11PM +, Jean Pihet wrote: > HI Will, Steve, Hi Jean, > On 6 March 2014 18:22, Jiri Olsa wrote: > > On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: > >> On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: > >> > On 4 March 2014 12:00, Will

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-12 Thread Will Deacon
On Tue, Mar 11, 2014 at 06:25:11PM +, Jean Pihet wrote: HI Will, Steve, Hi Jean, On 6 March 2014 18:22, Jiri Olsa jo...@redhat.com wrote: On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: On 4 March 2014 12:00,

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-11 Thread Jean Pihet
HI Will, Steve, On 6 March 2014 18:22, Jiri Olsa wrote: > On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: >> On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: >> > On 4 March 2014 12:00, Will Deacon wrote: >> > > On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote:

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-11 Thread Jean Pihet
HI Will, Steve, On 6 March 2014 18:22, Jiri Olsa jo...@redhat.com wrote: On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: On 4 March 2014 12:00, Will Deacon will.dea...@arm.com wrote: On Mon, Mar 03, 2014 at 09:53:21AM

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-06 Thread Jiri Olsa
On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: > On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: > > On 4 March 2014 12:00, Will Deacon wrote: > > > On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: > > >> + str lr, [r0, #PC] @ Save caller PC > > > >

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-06 Thread Will Deacon
On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: > On 4 March 2014 12:00, Will Deacon wrote: > > On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: > >> + str lr, [r0, #PC] @ Save caller PC > > > > This isn't necessarily the `caller PC' (depending on how you define

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-06 Thread Will Deacon
On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: On 4 March 2014 12:00, Will Deacon will.dea...@arm.com wrote: On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: + str lr, [r0, #PC] @ Save caller PC This isn't necessarily the `caller PC' (depending on how you

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-06 Thread Jiri Olsa
On Thu, Mar 06, 2014 at 11:33:15AM +, Will Deacon wrote: On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: On 4 March 2014 12:00, Will Deacon will.dea...@arm.com wrote: On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: + str lr, [r0, #PC] @ Save caller PC

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-04 Thread Jean Pihet
Hi Will, On 4 March 2014 12:00, Will Deacon wrote: > Hi Jean, > > On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: >> Introducing perf_regs_load function, which is going >> to be used for dwarf unwind test in following patches. >> >> It takes single argument as a pointer to the regs

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-04 Thread Will Deacon
Hi Jean, On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: > Introducing perf_regs_load function, which is going > to be used for dwarf unwind test in following patches. > > It takes single argument as a pointer to the regs dump > buffer and populates it with current registers values.

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-04 Thread Will Deacon
Hi Jean, On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values.

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-04 Thread Jean Pihet
Hi Will, On 4 March 2014 12:00, Will Deacon will.dea...@arm.com wrote: Hi Jean, On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to

[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-03 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet Cc: Steve Capper Cc: Corey Ashford Cc: Frederic

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-03 Thread Jean Pihet
A new version is coming asap after a review of the code with Steve. Thx, Jean On 3 March 2014 10:53, Jean Pihet wrote: > Introducing perf_regs_load function, which is going > to be used for dwarf unwind test in following patches. > > It takes single argument as a pointer to the regs dump >

[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-03 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo

[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-03 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet jean.pi...@linaro.org Cc: Corey Ashford

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-03 Thread Jean Pihet
A new version is coming asap after a review of the code with Steve. Thx, Jean On 3 March 2014 10:53, Jean Pihet jean.pi...@linaro.org wrote: Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the

[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-03 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet jean.pi...@linaro.org Cc: Steve Capper