Re: [PATCH] powerpc/perf: Record counter overflow always if SAMPLE_IP is unset

2021-02-04 Thread Athira Rajeev
> On 04-Feb-2021, at 8:25 AM, Michael Ellerman wrote: > > Athira Rajeev writes: >> While sampling for marked events, currently we record the sample only >> if the SIAR valid bit of Sampled Instruction Event Register (SIER) is >> set. SIAR_VALID bit is used for fetching the instruction address

Re: [PATCH] powerpc/perf: Record counter overflow always if SAMPLE_IP is unset

2021-02-03 Thread Michael Ellerman
Athira Rajeev writes: > While sampling for marked events, currently we record the sample only > if the SIAR valid bit of Sampled Instruction Event Register (SIER) is > set. SIAR_VALID bit is used for fetching the instruction address from > Sampled Instruction Address Register(SIAR). But there are