Re: [PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-28 Thread Michael Ellerman
Madhavan Srinivasan writes: > On 28/11/18 9:04 AM, Michael Ellerman wrote: >> Arnaldo Carvalho de Melo writes: >> >>> Em Mon, Nov 26, 2018 at 11:34:08PM +0530, Madhavan Srinivasan escreveu: On each sample, Sample Instruction Event Register (SIER) content is saved in pt_regs. SIER does n

Re: [PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-27 Thread Madhavan Srinivasan
On 28/11/18 9:04 AM, Michael Ellerman wrote: Arnaldo Carvalho de Melo writes: Em Mon, Nov 26, 2018 at 11:34:08PM +0530, Madhavan Srinivasan escreveu: On each sample, Sample Instruction Event Register (SIER) content is saved in pt_regs. SIER does not have a entry as-is in the pt_regs but ins

Re: [PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-27 Thread Michael Ellerman
Arnaldo Carvalho de Melo writes: > Em Mon, Nov 26, 2018 at 11:34:08PM +0530, Madhavan Srinivasan escreveu: >> On each sample, Sample Instruction Event Register (SIER) content >> is saved in pt_regs. SIER does not have a entry as-is in the pt_regs >> but instead, SIER content is saved in the "dar"

Re: [PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 26, 2018 at 11:34:08PM +0530, Madhavan Srinivasan escreveu: > On each sample, Sample Instruction Event Register (SIER) content > is saved in pt_regs. SIER does not have a entry as-is in the pt_regs > but instead, SIER content is saved in the "dar" register of pt_regs. > > Patch adds an

Re: [PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-27 Thread Madhavan Srinivasan
On 27/11/18 12:24 PM, Christophe LEROY wrote: Le 26/11/2018 à 19:04, Madhavan Srinivasan a écrit : On each sample, Sample Instruction Event Register (SIER) content is saved in pt_regs. SIER does not have a entry as-is in the pt_regs but instead, SIER content is saved in the "dar" register of

Re: [PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-26 Thread Christophe LEROY
Le 26/11/2018 à 19:04, Madhavan Srinivasan a écrit : On each sample, Sample Instruction Event Register (SIER) content is saved in pt_regs. SIER does not have a entry as-is in the pt_regs but instead, SIER content is saved in the "dar" register of pt_regs. Patch adds another entry to the perf_

[PATCH RESEND] powerpc/perf: Update perf_regs structure to include SIER

2018-11-26 Thread Madhavan Srinivasan
On each sample, Sample Instruction Event Register (SIER) content is saved in pt_regs. SIER does not have a entry as-is in the pt_regs but instead, SIER content is saved in the "dar" register of pt_regs. Patch adds another entry to the perf_regs structure to include the "SIER" printing which intern