# Re: \[PATCH V2\] powerpc/perf: Record counter overflow always if SAMPLE\_IP is unset

- From: Michael Ellerman \<hidden\>
- Date: 2021-02-10 13:28:46 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/02/9520890
- Thread: https://ratatoskr.run/linuxppc-dev/2021/02/9520818/t.md

```text
On Fri, 5 Feb 2021 04:14:52 -0500, Athira Rajeev wrote:
> 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 some usecases,
> where the user is interested only in the PMU stats at each counter
> overflow and the exact IP of the overflow event is not required.
> Dropping SIAR invalid samples will fail to record some of the counter
> overflows in such cases.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
      https://git.kernel.org/powerpc/c/d137845c973147a22622cc76c7b0bc16f6206323

cheers
```
