Thread (2 messages) 2 messages, 2 authors, 2020-12-15

Re: [PATCH V2] powerpc/perf: Exclude kernel samples while counting events in user space.

From: Michael Ellerman <hidden>
Date: 2020-12-15 10:53:05

On Wed, 25 Nov 2020 02:26:55 -0500, Athira Rajeev wrote:
Perf event attritube supports exclude_kernel flag
to avoid sampling/profiling in supervisor state (kernel).
Based on this event attr flag, Monitor Mode Control Register
bit is set to freeze on supervisor state. But sometime (due
to hardware limitation), Sampled Instruction Address
Register (SIAR) locks on to kernel address even when
freeze on supervisor is set. Patch here adds a check to
drop those samples.
Applied to powerpc/next.

[1/1] powerpc/perf: Exclude kernel samples while counting events in user space.
      https://git.kernel.org/powerpc/c/aa8e21c053d72b6639ea5a7f1d3a1d0209534c94

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help