Re: [PATCH] powerpc/perf: use MSR to report privilege level on P9 DD1

2017-01-16 Thread Madhavan Srinivasan
On Tuesday 17 January 2017 11:16 AM, Michael Ellerman wrote: Madhavan Srinivasan writes: "use_siar" variable is primarily used for deciding the sampled address and the privilege level to be reported for a sample. perf_read_regs() function updates the "use_siar" and "regs->result" based on th

Re: [PATCH] powerpc/perf: use MSR to report privilege level on P9 DD1

2017-01-16 Thread Michael Ellerman
Madhavan Srinivasan writes: > "use_siar" variable is primarily used for deciding the sampled address > and the privilege level to be reported for a sample. perf_read_regs() > function updates the "use_siar" and "regs->result" based on the pmu > flags along with other checks. To force the use of M

[PATCH] powerpc/perf: use MSR to report privilege level on P9 DD1

2017-01-03 Thread Madhavan Srinivasan
"use_siar" variable is primarily used for deciding the sampled address and the privilege level to be reported for a sample. perf_read_regs() function updates the "use_siar" and "regs->result" based on the pmu flags along with other checks. To force the use of MSR to report the privilege level and t