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
Reply to
Athira Rajeev, 2021-02-05
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
Thread (2 messages) 2 messages, 2 authors, last reply 2021-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help